From e4bef0971738a7e9e40df52770d75c092f3cc87f Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Mon, 25 Jul 2016 11:46:14 +0200 Subject: [PATCH] dbm.php - is_result should be a static function there was a notice in php.out - `Non-static method dbm::is_result() should not be called statically` This should fix it. --- include/dbm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dbm.php b/include/dbm.php index 7c8c9b8c14..fdd9f40e76 100644 --- a/include/dbm.php +++ b/include/dbm.php @@ -42,7 +42,7 @@ class dbm { * @param $array mixed A filled array with at least one entry * @return Whether $array is a filled array */ - public function is_result($array) { + public static function is_result($array) { return (is_array($array) && count($array) > 0); } }