X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=db.php;h=428c1bf007bb42f85b5551e0633695985dd2ce0d;hp=5a9ef89bbf06d5100b5d8832981b76b85876a308;hb=6be2bf0ba344177f0d1e57d9135bcb97579c54a3;hpb=aa71e6c696f55d1fa3af661ad37ec02101ad7a08 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]; }