mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Correct the field name from res_owner to res_creator
In database has only the res_creator column.
This commit is contained in:
parent
1e98a89bbd
commit
8979e5efe1
@ -320,7 +320,7 @@ class resources_bo
|
|||||||
// we need an id to save pictures and make links...
|
// we need an id to save pictures and make links...
|
||||||
if(!$resource['res_id'])
|
if(!$resource['res_id'])
|
||||||
{
|
{
|
||||||
$resource['res_owner'] = $GLOBALS['egw_info']['user']['account_id'];
|
$resource['res_creator'] = $GLOBALS['egw_info']['user']['account_id'];
|
||||||
$resource['res_created'] = Api\DateTime::server2user(time(),'ts');
|
$resource['res_created'] = Api\DateTime::server2user(time(),'ts');
|
||||||
$resource['res_id'] = $this->so->save($resource);
|
$resource['res_id'] = $this->so->save($resource);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user