Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa71e6c
)
Fix db_get_value after mysql->mysqli upgrade
master
author
Jason Woofenden
<jason@jasonwoof.com>
Sun, 3 May 2020 20:28:15 +0000
(16:28 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sun, 3 May 2020 20:28:15 +0000
(16:28 -0400)
db.php
patch
|
blob
|
history
diff --git
a/db.php
b/db.php
index
5a9ef89
..
428c1bf
100644
(file)
--- a/
db.php
+++ b/
db.php
@@
-276,7
+276,7
@@
function db_get_value($table, $column, $where = '') {
$result = db_send_get($table, $column, $where, $args);
$value = mysqli_fetch_row($result);
- if($value !== false) {
+ if($value !== NULL) {
$value = $value[0];
}