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:
flyskyko 2011-08-26 07:59:10 +00:00
parent 83a38b61fa
commit 68afb4b5ad

View file

@ -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'){