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

Merge pull request #2316 from davecivicrm/CRM-14016

CRM-14016 - Fix fatal error in Save Copy due to NULL instanceID.
parents a72acd76 355a8202
No related branches found
No related tags found
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 {
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.
Finish editing this message first!
Please register or to comment