Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / libs / user_functions.php
index c2baa16..22dd84f 100644 (file)
@@ -580,7 +580,7 @@ function doConfirmUserAccount ($hash) {
                array($hash), __FILE__, __LINE__);
 
        // One result should be found
-       if (ifSqlHasZeroNums($result)) {
+       if (ifSqlHasZeroNumRows($result)) {
                // Nothing found or tried to confirm twice?
                displayMessage('{--GUEST_CONFIRMED_TWICE--}');
                return;