mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 12:58:46 +01:00
fix PHP Fatal when opening old eTemplate editor
This commit is contained in:
parent
1111e11f55
commit
d4073211e6
@ -521,7 +521,7 @@ class editor
|
|||||||
// check if application of template has a app.js file --> load it
|
// check if application of template has a app.js file --> load it
|
||||||
if (file_exists(EGW_SERVER_ROOT.'/'.$app.'/js/app.js'))
|
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;
|
$editor->data[$editor->rows]['A']['obj'] = &$this->etemplate;
|
||||||
$vals = $content['vals'];
|
$vals = $content['vals'];
|
||||||
|
Loading…
Reference in New Issue
Block a user