Follow-up to bug #10099: Added additional conversion to integer in tslib_feTCE::check...
authorOliver Hader <oliver.hader@typo3.org>
Mon, 9 Mar 2009 14:14:32 +0000 (14:14 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 9 Mar 2009 14:14:32 +0000 (14:14 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5163 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fetce.php

index 990a8e0..27339bb 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2009-03-09  Oliver Hader  <oliver@typo3.org>
 
-       * Fixed bug #10099: Use TYPO3_DB->exec_SELECTcountRows() to determine the number of rows 
+       * Fixed bug #10099: Use TYPO3_DB->exec_SELECTcountRows() to determine the number of rows
+       * Follow-up to bug #10099: Added additional conversion to integer in tslib_feTCE::checkDoublePostExist()
 
 2009-03-08  Stanislas Rolland  <typo3@sjbr.ca>
 
index c74081e..98436fb 100644 (file)
@@ -188,7 +188,7 @@ class tslib_feTCE   {
                return $GLOBALS['TYPO3_DB']->exec_SELECTcountRows(
                        '*',
                        $table,
-                       $doublePostField . '=' . $key
+                       $doublePostField . '=' . intval($key)
                );
        }