forked from extern/egroupware
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...
|
||||
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_id'] = $this->so->save($resource);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user