mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 13:02:15 +09:00
fixed wrong return value in proc()
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8915 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
83a38b61fa
commit
68afb4b5ad
1 changed files with 12 additions and 11 deletions
|
|
@ -322,7 +322,8 @@
|
||||||
if(is_a($output, 'Object') || is_subclass_of($output, 'Object')) {
|
if(is_a($output, 'Object') || is_subclass_of($output, 'Object')) {
|
||||||
$this->setError($output->getError());
|
$this->setError($output->getError());
|
||||||
$this->setMessage($output->getMessage());
|
$this->setMessage($output->getMessage());
|
||||||
return false;
|
|
||||||
|
if (!$output->toBool()) return false;
|
||||||
}
|
}
|
||||||
// execute api methos of the module if view action is and result is XMLRPC or JSON
|
// execute api methos of the module if view action is and result is XMLRPC or JSON
|
||||||
if($this->module_info->module_type == 'view'){
|
if($this->module_info->module_type == 'view'){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue