fix PHP Fatal when opening old eTemplate editor

This commit is contained in:
Ralf Becker 2016-04-14 18:06:04 +00:00
parent 1111e11f55
commit d4073211e6

View File

@ -521,7 +521,7 @@ class editor
// check if application of template has a app.js file --> load it
if (file_exists(EGW_SERVER_ROOT.'/'.$app.'/js/app.js'))
{
$GLOBALS['egw']->js->validate_file('.','app',$app,false);
egw_framework::validate_file('.','app',$app,false);
}
$editor->data[$editor->rows]['A']['obj'] = &$this->etemplate;
$vals = $content['vals'];