]> andersk Git - sql-web.git/blobdiff - lib/joe/util.lib.php
signup: lower minimum UIDs
[sql-web.git] / lib / joe / util.lib.php
index dd7be0aa74fd709526d41094797ac899f9126cd8..80321c7656f3f453f6f20cc2ad7713767f35cdde 100644 (file)
@@ -83,7 +83,7 @@ function fetchRows($rs, $key = null) {
             while ($r = mysql_fetch_assoc($rs)) {
                 $arr[] = $r;
             }
-        } elseif (is_numeric($key)) {
+        } elseif ((string)intval($key)===(string)$key) {
             while ($r = mysql_fetch_row($rs)) {
                 $arr[$r[$key]] = $r;
             }
This page took 0.025019 seconds and 4 git commands to generate.