From ab874c22a68548fcf949503e87976fd66d18b124 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 30 Jul 2015 11:24:34 -0400 Subject: [PATCH] CRM-14239 - Fix undefined variable notice --- bin/cli.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cli.class.php b/bin/cli.class.php index 9a569b0cc9..5489e9d0d6 100644 --- a/bin/cli.class.php +++ b/bin/cli.class.php @@ -111,7 +111,7 @@ class civicrm_cli { $result = civicrm_api($this->_entity, $this->_action, $this->_params); } - if ($result['is_error'] != 0) { + if (!empty($result['is_error'])) { $this->_log($result['error_message']); return FALSE; } -- 2.25.1