Autofill: fixed missing parameter to $db->fetchrow()
authorDan
Fri, 21 Aug 2009 13:50:20 -0400
changeset 1090 6c84fb196026
parent 1089 16a1e8626dd9
child 1091 bb8e04f74819
Autofill: fixed missing parameter to $db->fetchrow()
plugins/SpecialPageFuncs.php
--- a/plugins/SpecialPageFuncs.php	Fri Aug 21 13:49:45 2009 -0400
+++ b/plugins/SpecialPageFuncs.php	Fri Aug 21 13:50:20 2009 -0400
@@ -640,7 +640,7 @@
           if ( !$q )
             $db->die_json();
           
-          while ( $row = $db->fetchrow() )
+          while ( $row = $db->fetchrow($q) )
           {
             $key = array(
               'name' => $row['username'],