From bb0310942f63d53959ecb9acefbff84077411aef Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Mon, 14 Apr 2014 18:44:06 +0300 Subject: [PATCH] Fix visibility warning --- lib/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db.php b/lib/db.php index ec7141ef..dd476d4d 100644 --- a/lib/db.php +++ b/lib/db.php @@ -207,7 +207,7 @@ abstract class Db { return $result; } - protected function __call($name, $arguments){ + public function __call($name, $arguments){ if (substr($name, 0, 3) === 'get'){ $requestedProperty = substr($name, 3); $property = strtolower(preg_replace('/(.)([A-Z])/', "$1_$2", $requestedProperty));