From 8979e5efe1d77edee0193c2924a586d222443412 Mon Sep 17 00:00:00 2001 From: Tomasz Jakubowski Date: Tue, 25 Sep 2018 02:03:37 +0200 Subject: [PATCH] Correct the field name from res_owner to res_creator In database has only the res_creator column. --- resources/inc/class.resources_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/inc/class.resources_bo.inc.php b/resources/inc/class.resources_bo.inc.php index dc5b2cb671..84f77c3d43 100755 --- a/resources/inc/class.resources_bo.inc.php +++ b/resources/inc/class.resources_bo.inc.php @@ -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); }