diff options
-rw-r--r-- | app/class/mysql.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/mysql.class.php b/app/class/mysql.class.php index fae09bb..db0eb7d 100644 --- a/app/class/mysql.class.php +++ b/app/class/mysql.class.php @@ -53,7 +53,7 @@ class mysql extends database return $arr; while (($arr[] = $res->fetch_assoc())); - return $arr; + return array_filter($arr, function ($val) { return !is_null($val); }); } /* |