* Timesheet/Resources/Filemanager/Calendar: customfields could not be deleted

This commit is contained in:
Ralf Becker
2017-01-17 18:24:56 +01:00
parent 83f8850568
commit f9bbcdeb86
5 changed files with 6 additions and 5 deletions

View File

@ -271,7 +271,8 @@ class admin_customfields
// Some logic to make sure extending class (if there is one) gets called
// when etemplate2 comes back instead of parent class
$exec = get_class() == get_called_class() ? 'admin.admin_customfields.index' : $this->appname . '.' . get_called_class() . '.index';
$exec = get_class() == get_called_class() || get_called_class() == 'customfields' ?
'admin.admin_customfields.index' : $this->appname . '.' . get_called_class() . '.index';
$this->tmpl->exec($exec,$content,$sel_options,$readonlys,$preserve);
}