* Cann't call the member variables of a class in the magic method.
This commit is contained in:
@@ -646,7 +646,7 @@ class control extends baseControl
|
||||
*/
|
||||
public function __call($method, $arguments)
|
||||
{
|
||||
$moduleName = $this->moduleName();
|
||||
$moduleName = $this->app->getModuleName();
|
||||
$zenClass = $moduleName . 'Zen';
|
||||
|
||||
if(is_callable(array($this->{$zenClass}, $method))) return call_user_func_array(array($this->{$zenClass}, $method), $arguments);
|
||||
|
||||
Reference in New Issue
Block a user