X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=bin%2Fcli.class.php;h=5340869a1cae97b5884b674c25b97c59cc3648fa;hb=a7c57397d229390219e7a1f3ce909d0724b8d23a;hp=9a569b0cc9235ab826a31304391bccab5fbb294d;hpb=64e2abc28556b9bf1b3582e34590ad1a887fc290;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; }