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.
This commit is contained in:
parent
18cbe9f6ff
commit
e4bef09717
|
@ -42,7 +42,7 @@ class dbm {
|
||||||
* @param $array mixed A filled array with at least one entry
|
* @param $array mixed A filled array with at least one entry
|
||||||
* @return Whether $array is a filled array
|
* @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);
|
return (is_array($array) && count($array) > 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue