From d4073211e68b240e522d979e41912b75c2700dbb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 14 Apr 2016 18:06:04 +0000 Subject: [PATCH] fix PHP Fatal when opening old eTemplate editor --- etemplate/inc/class.editor.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.editor.inc.php b/etemplate/inc/class.editor.inc.php index 72c05653e3..c31768b086 100644 --- a/etemplate/inc/class.editor.inc.php +++ b/etemplate/inc/class.editor.inc.php @@ -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'];