From 6be2bf0ba344177f0d1e57d9135bcb97579c54a3 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Sun, 3 May 2020 16:28:15 -0400 Subject: [PATCH] Fix db_get_value after mysql->mysqli upgrade --- db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.php b/db.php index 5a9ef89..428c1bf 100644 --- 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]; } -- 1.7.10.4