mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Detect a submit from old etemplate & pass it off
This commit is contained in:
parent
4483b63f9e
commit
fa30d335e3
@ -247,6 +247,12 @@ class etemplate_new extends etemplate_widget_template
|
||||
{
|
||||
$etemplate_exec_id = $_POST['etemplate_exec_id'];
|
||||
$content = json_decode($_POST['value'],true);
|
||||
if($content == null && $_POST['exec'])
|
||||
{
|
||||
// Old etemplate submit
|
||||
error_log("Old etemplate submitted");
|
||||
return ExecMethod('etemplate.etemplate_old.process_exec');
|
||||
}
|
||||
error_log(__METHOD__."(".array2string($content).")");
|
||||
|
||||
self::$request = etemplate_request::read($_POST['etemplate_exec_id']);
|
||||
|
Loading…
Reference in New Issue
Block a user