[BUGFIX] Use single quotes for password check
[Packages/TYPO3.CMS.git] / typo3 / sysext / saltedpasswords / Classes / Utility / SaltedPasswordsUtility.php
index 1901f6e..46efeb8 100644 (file)
@@ -37,7 +37,7 @@ class SaltedPasswordsUtility {
                $userCount = $GLOBALS['TYPO3_DB']->exec_SELECTcountRows(
                        '*',
                        'be_users',
-                       'password != ""'
+                       'password != \'\''
                                . ' AND password NOT LIKE ' . $GLOBALS['TYPO3_DB']->fullQuoteStr('$%', 'be_users')
                                . ' AND password NOT LIKE ' . $GLOBALS['TYPO3_DB']->fullQuoteStr('M$%', 'be_users')
                );