[eGroupWare-svn] r55748 - /trunk/etemplate/inc/class.editor.inc.php
| Newsgroups | gmane.comp.web.egroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ralfbecker
Date: Thu Apr 14 20:06:04 2016
New Revision: 55748
URL: http://svn.stylite.de/viewvc/egroupware?rev=55748&view=rev
Log:
fix PHP Fatal when opening old eTemplate editor
Modified:
trunk/etemplate/inc/class.editor.inc.php
Modified: trunk/etemplate/inc/class.editor.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/etemplate/inc/class.editor.inc.php?rev=55748&r1=55747&r2=55748&view=diff
==============================================================================
--- trunk/etemplate/inc/class.editor.inc.php (original)
+++ trunk/etemplate/inc/class.editor.inc.php Thu Apr 14 20:06:04 2016
@@ -521,7 +521,7 @@
// 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'];
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z