mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
fixed a bug (copy&paste error) that hindered the saving of customfields
This commit is contained in:
parent
f5b04aa513
commit
78c724b0cb
@ -162,7 +162,6 @@ class bo_resources
|
||||
{
|
||||
return lang('You are not permitted to edit this reource!');
|
||||
}
|
||||
|
||||
// we need an id to save pictures and make links...
|
||||
if(!$resource['res_id'])
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ class so_resources extends so_sql
|
||||
{
|
||||
$this->so_sql('resources','egw_resources');
|
||||
|
||||
$custom =& CreateObject('admin.customfields',$contact_app);
|
||||
$custom =& CreateObject('admin.customfields','resources');
|
||||
$this->customfields = $custom->get_customfields();
|
||||
$this->soextra =& CreateObject('etemplate.so_sql');
|
||||
$this->soextra->so_sql('resources','egw_resources_extra');
|
||||
|
Loading…
Reference in New Issue
Block a user