X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=bin%2Fcli.class.php;h=5340869a1cae97b5884b674c25b97c59cc3648fa;hb=c346b0a8bea99a1ec1f12491ce1fceb74d50a426;hp=9a569b0cc9235ab826a31304391bccab5fbb294d;hpb=26604a651b4b5b27b5041a3d8644c2403c1a859a;p=civicrm-core.git diff --git a/bin/cli.class.php b/bin/cli.class.php index 9a569b0cc9..5340869a1c 100644 --- a/bin/cli.class.php +++ b/bin/cli.class.php @@ -1,7 +1,7 @@ _entity, $this->_action, $this->_params); } - if ($result['is_error'] != 0) { + if (!empty($result['is_error'])) { $this->_log($result['error_message']); return FALSE; }