projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3699a7
)
CRM-14239 - Fix undefined variable notice
author
Coleman Watts
<coleman@civicrm.org>
Thu, 30 Jul 2015 15:24:34 +0000
(11:24 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Thu, 30 Jul 2015 15:24:34 +0000
(11:24 -0400)
bin/cli.class.php
patch
|
blob
|
blame
|
history
diff --git
a/bin/cli.class.php
b/bin/cli.class.php
index 9a569b0cc9235ab826a31304391bccab5fbb294d..5489e9d0d690b542fd047e541b3d7a36e4344b7a 100644
(file)
--- 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;
}