mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 08:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1848 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cb3246888e
commit
a0526f8485
3 changed files with 10 additions and 5 deletions
|
|
@ -62,7 +62,8 @@
|
|||
|
||||
if(!method_exists($oComponent, $method)) return new Object(-1, sprintf(Context::getLang('msg_component_is_not_founded'), $component));
|
||||
|
||||
$output = call_user_method($method, $oComponent);
|
||||
//$output = call_user_method($method, $oComponent);
|
||||
$output = call_user_func(array($oComponent, $method));
|
||||
if((is_a($output, 'Object') || is_subclass_of($output, 'Object')) && !$output->toBool()) return $output;
|
||||
|
||||
$this->setError($oComponent->getError());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue