projects
/
scuttle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b82542
)
Bugfix: bookmark duplicate check on mysqli
author
Takuya Ono
<takuya-o@users.sourceforge.net>
Mon, 5 Sep 2016 14:00:00 +0000
(23:00 +0900)
committer
Takuya Ono
<takuya-o@users.sourceforge.net>
Mon, 5 Sep 2016 14:00:00 +0000
(23:00 +0900)
There was a bug that the bookmarkExists() always return false by the mysqli driver.
includes/db/mysqli.php
patch
|
blob
|
history
diff --git
a/includes/db/mysqli.php
b/includes/db/mysqli.php
index 267229f5b3b03dbcbb87889d2f2cd3a8bdf5548f..d2eaa9bab26a94a9556547088983767b0368fc8b 100644
(file)
--- a/
includes/db/mysqli.php
+++ b/
includes/db/mysqli.php
@@
-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?