Skip to content

Commit

Permalink
Fixed: #174
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammaye committed Dec 3, 2013
1 parent 45a0c00 commit fe1ff0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EMongoClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fe1ff0d

Please sign in to comment.