diff --git a/etemplate/inc/class.etemplate_old.inc.php b/etemplate/inc/class.etemplate_old.inc.php index 2050579615..4e142f17a4 100644 --- a/etemplate/inc/class.etemplate_old.inc.php +++ b/etemplate/inc/class.etemplate_old.inc.php @@ -524,6 +524,13 @@ class etemplate_old extends boetemplate { self::$hook_content = self::$request->hooked; $GLOBALS['egw_info']['flags']['currentapp'] = self::$hook_app = self::$request->hook_app; + + // Prevent previous content form names from being used again in exec() + preg_match_all('/