Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions data/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,7 @@ public function __call($method, $params) {
if (isset($methods[$method]) && is_callable($methods[$method])) {
return call_user_func_array($methods[$method], $params);
}
$message = "Unhandled method call `{$method}`.";
throw new BadMethodCallException($message);
return self::__callStatic($method, $params);
}

/**
Expand Down Expand Up @@ -1462,4 +1461,4 @@ public static function reset() {
}
}

?>
?>