Skip to content
Snippets Groups Projects
Commit ab874c22 authored by colemanw's avatar colemanw
Browse files

CRM-14239 - Fix undefined variable notice

parent c3699a77
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment