From fe1ff0d8f6af27009025a206c80d0b178eafca87 Mon Sep 17 00:00:00 2001 From: Sammaye Date: Tue, 3 Dec 2013 08:28:06 +0000 Subject: [PATCH] Fixed: https://github.com/Sammaye/MongoYii/issues/174 --- EMongoClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EMongoClient.php b/EMongoClient.php index e97d16d..3e4d88a 100644 --- a/EMongoClient.php +++ b/EMongoClient.php @@ -105,7 +105,7 @@ public function __get($k){ */ public function __call($name,$parameters = array()){ if(!method_exists($this->getDB(), $name)) - return null; + return parent::__call($name, $parameters); return call_user_func_array(array($this->getDB(), $name), $parameters); }