Followup with further cleanups for bugfix #7781.
authorJeff Segars <jsegars@alumni.rice.edu>
Wed, 19 Mar 2008 20:03:33 +0000 (20:03 +0000)
committerJeff Segars <jsegars@alumni.rice.edu>
Wed, 19 Mar 2008 20:03:33 +0000 (20:03 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3458 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/tstemplate_ceditor/class.tx_tstemplateceditor.php

index ef6dae6..a94ccd8 100644 (file)
@@ -110,7 +110,7 @@ class tx_tstemplateceditor extends t3lib_extobjbase {
                        $saveId = $tplRow['_ORIG_uid'] ? $tplRow['_ORIG_uid'] : $tplRow['uid'];
 
                                // Update template ?
-                       if (t3lib_div::_POST("submit") || (t3lib_div::_POST("submit_x") && t3lib_div::_POST("submit_y")))       {
+                       if (t3lib_div::_POST('submit') || (t3lib_div::testInt(t3lib_div::_POST('submit_x')) && t3lib_div::testInt(t3lib_div::_POST('submit_y')))) {
                                require_once (PATH_t3lib."class.t3lib_tcemain.php");
                                $tmpl->changed=0;
                                $tmpl->ext_procesInput(t3lib_div::_POST(),$_FILES,$theConstants,$tplRow);