mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Merge pull request #49 from tompsonx/master
* Resources: correct the field name from res_owner to res_creator.
This commit is contained in:
commit
c96f4ff5c2
@ -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);
|
||||
}
|
||||
|
@ -181,7 +181,7 @@
|
||||
<description value="Created by"/>
|
||||
<hbox>
|
||||
<menulist>
|
||||
<menupopup type="select-account" id="res_owner" readonly="true"/>
|
||||
<menupopup type="select-account" id="res_creator" readonly="true"/>
|
||||
</menulist>
|
||||
<date-time id="res_created" readonly="true" align="right"/>
|
||||
</hbox>
|
||||
|
@ -117,7 +117,7 @@
|
||||
<description value="Created by"/>
|
||||
<hbox>
|
||||
<menulist>
|
||||
<menupopup type="select-account" id="res_owner" readonly="true"/>
|
||||
<menupopup type="select-account" id="res_creator" readonly="true"/>
|
||||
</menulist>
|
||||
<date-time id="res_created" readonly="true" align="right"/>
|
||||
</hbox>
|
||||
|
@ -31,7 +31,7 @@
|
||||
<description value="Created by"/>
|
||||
<hbox>
|
||||
<menulist>
|
||||
<menupopup type="select-account" id="res_owner" readonly="true"/>
|
||||
<menupopup type="select-account" id="res_creator" readonly="true"/>
|
||||
</menulist>
|
||||
<date-time id="res_created" readonly="true" align="right"/>
|
||||
</hbox>
|
||||
|
Loading…
Reference in New Issue
Block a user