[CLEANUP] Replace count with empty in EXT:core
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Database / PreparedStatement.php
index 7020350..3f7d19d 100644 (file)
@@ -166,7 +166,7 @@ class PreparedStatement {
                $this->parameters = array();
 
                // Test if named placeholders are used
-               if ($this->hasNamedPlaceholders($query) || count($precompiledQueryParts) > 0) {
+               if ($this->hasNamedPlaceholders($query) || !empty($precompiledQueryParts)) {
                        $this->statement = NULL;
                } else {
                        // Only question mark placeholders are used