Reset rewritten, SQL fixed, zeros are now numeric
[mailer.git] / inc / db / lib-mysql3.php
index dbc65715064067207997c72f3a7a501167972a0a..f09301c9b48e104e4e22049d8b78ce3cb79dbdd5 100644 (file)
@@ -105,10 +105,10 @@ function SQL_NUMROWS($result) {
                $lines = @mysql_num_rows($result);
 
                // Is the result empty? Then we have an error!
-               if (empty($lines)) $lines = "0";
+               if (empty($lines)) $lines = 0;
        } else {
                // No resource given, no lines found!
-               $lines = "0";
+               $lines = 0;
        }
        return $lines;
 }