fixed a bug (copy&paste error) that hindered the saving of customfields

This commit is contained in:
Klaus Leithoff 2008-10-24 11:30:53 +00:00
parent f5b04aa513
commit 78c724b0cb
2 changed files with 1 additions and 2 deletions

View File

@ -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'])
{

View File

@ -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');