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:
19d88f1
)
CRM-14016 - Use elseif instead of else if
author
Dave Greenberg
<dave@civicrm.org>
Thu, 9 Jan 2014 01:01:47 +0000
(17:01 -0800)
committer
Dave Greenberg
<dave@civicrm.org>
Thu, 9 Jan 2014 01:01:47 +0000
(17:01 -0800)
----------------------------------------
* CRM-14016: remove report instance from navigation via report settings
http://issues.civicrm.org/jira/browse/CRM-14016
CRM/Report/Form/Instance.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form/Instance.php
b/CRM/Report/Form/Instance.php
index 93e28866b8d29e9041b41cd454f8d3f724762fe1..48a6dd92b744ba3cf0ec7b59394add4084336010 100644
(file)
--- a/
CRM/Report/Form/Instance.php
+++ b/
CRM/Report/Form/Instance.php
@@
-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) {