mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Change instanceof Object to instanceof BaseObject
This commit is contained in:
parent
84e5542d77
commit
ae971306b7
6 changed files with 8 additions and 8 deletions
|
|
@ -60,7 +60,7 @@ class editorController extends editor
|
|||
if(method_exists($oComponent, $method)) $output = $oComponent->{$method}();
|
||||
else return $this->setError('%s method is not exists', $method);
|
||||
|
||||
if($output instanceof Object && !$output->toBool()) return $output;
|
||||
if($output instanceof BaseObject && !$output->toBool()) return $output;
|
||||
|
||||
$this->setError($oComponent->getError());
|
||||
$this->setMessage($oComponent->getMessage());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue