CRM-13492 specify = TRUE on navigation menu - this will cause urls to have &amp...
authorEileen <eileen@fuzion.co.nz>
Fri, 3 Jan 2014 23:35:14 +0000 (12:35 +1300)
committerEileen <eileen@fuzion.co.nz>
Fri, 3 Jan 2014 23:35:14 +0000 (12:35 +1300)
(Am currently unsure about the ones which have inconsistently stored a '?' in the civicrm_navigation menu - ie.
http://issues.civicrm.org/jira/browse/CRM-13942?focusedCommentId=54821&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-54821
as I cleaned them out of my DB)

----------------------------------------
* CRM-13492: buildAmount Hook functionality changed -- difficult to use / undocumented
  http://issues.civicrm.org/jira/browse/CRM-13492

CRM/Core/BAO/Navigation.php

index c05d6a52d667a99f65c6c5afe5311dfbebd36840..629a0b4d2e413580dfca5434d4428751c5d23e3e 100644 (file)
@@ -495,7 +495,7 @@ ORDER BY parent_id, weight";
         //CRM-7656 --make sure to separate out url path from url params,
         //as we'r going to validate url path across cross-site scripting.
         $urlParam = CRM_Utils_System::explode('&', str_replace('?', '&', $url), 2);
-        $url = CRM_Utils_System::url($urlParam[0], $urlParam[1], FALSE, NULL, FALSE);
+        $url = CRM_Utils_System::url($urlParam[0], $urlParam[1], FALSE, NULL, TRUE);
       }
       $makeLink = TRUE;
     }