mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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!');
|
return lang('You are not permitted to edit this reource!');
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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'])
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,7 @@ class so_resources extends so_sql
|
|||||||
{
|
{
|
||||||
$this->so_sql('resources','egw_resources');
|
$this->so_sql('resources','egw_resources');
|
||||||
|
|
||||||
$custom =& CreateObject('admin.customfields',$contact_app);
|
$custom =& CreateObject('admin.customfields','resources');
|
||||||
$this->customfields = $custom->get_customfields();
|
$this->customfields = $custom->get_customfields();
|
||||||
$this->soextra =& CreateObject('etemplate.so_sql');
|
$this->soextra =& CreateObject('etemplate.so_sql');
|
||||||
$this->soextra->so_sql('resources','egw_resources_extra');
|
$this->soextra->so_sql('resources','egw_resources_extra');
|
||||||
|
Loading…
Reference in New Issue
Block a user