Skip to content
Snippets Groups Projects
Commit 355a8202 authored by Dave Greenberg's avatar Dave Greenberg
Browse files

CRM-14016 - Use elseif instead of else if

----------------------------------------
* CRM-14016: remove report instance from navigation via report settings
  http://issues.civicrm.org/jira/browse/CRM-14016
parent 19d88f12
Branches
Tags
No related merge requests found
......@@ -254,7 +254,7 @@ class CRM_Report_Form_Instance {
if (CRM_Utils_Array::value('is_navigation', $params)) {
$params['navigation'] = $form->_navigation;
}
else if ($instanceID){
elseif ($instanceID){
//delete navigation if exists
$navId = CRM_Core_DAO::getFieldValue('CRM_Report_DAO_ReportInstance', $instanceID, 'navigation_id', 'id');
if ($navId) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment