Follow-up to bug #10099: Added additional conversion to integer in tslib_feTCE::check...
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / class.tslib_fetce.php
index c74081e..98436fb 100644 (file)
@@ -188,7 +188,7 @@ class tslib_feTCE   {
                return $GLOBALS['TYPO3_DB']->exec_SELECTcountRows(
                        '*',
                        $table,
-                       $doublePostField . '=' . $key
+                       $doublePostField . '=' . intval($key)
                );
        }