]> projects.mako.cc - scuttle/commitdiff
Merge remote-tracking branch 'gh-takuya-o/patch-mysqli-bookmark-duplicate'
authorBenjamin Mako Hill <mako@atdot.cc>
Tue, 16 Jul 2019 23:52:37 +0000 (16:52 -0700)
committerBenjamin Mako Hill <mako@atdot.cc>
Tue, 16 Jul 2019 23:52:37 +0000 (16:52 -0700)
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?