[BUGFIX] Use the correct named parameter type in Extbase queries
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Persistence / Generic / Mapper / DataMapper.php
index af3c544..fb49f9f 100644 (file)
@@ -695,6 +695,8 @@ class DataMapper implements \TYPO3\CMS\Core\SingletonInterface
 
         if (is_bool($input)) {
             $parameter = (int)$input;
+        } elseif (is_int($input)) {
+            $parameter = $input;
         } elseif ($input instanceof \DateTime) {
             if (!is_null($columnMap) && !is_null($columnMap->getDateTimeStorageFormat())) {
                 $storageFormat = $columnMap->getDateTimeStorageFormat();