]> projects.mako.cc - scuttle/blobdiff - includes/db/mysqli.php
updated readme with information on a series of bugs I know exist
[scuttle] / includes / db / mysqli.php
index 267229f5b3b03dbcbb87889d2f2cd3a8bdf5548f..d2eaa9bab26a94a9556547088983767b0368fc8b 100644 (file)
@@ -312,7 +312,7 @@ class sql_db
                        if ($rownum > -1)
                        {
                                @mysqli_data_seek($query_id, $rownum);
-                               $row = @mysqli_fetch_assoc($query_id);
+                               $row = @mysqli_fetch_row($query_id);
                                $result = isset($row[$field]) ? $row[$field] : false;
                        }
                        else

Benjamin Mako Hill || Want to submit a patch?