fix for CRM-12404 : "Supporter profile is not set for this Personal Campaign Page...
authorPratik Joshi <pratik.joshi@webaccess.co.in>
Fri, 26 Apr 2013 15:42:55 +0000 (21:12 +0530)
committerPratik Joshi <pratik.joshi@webaccess.co.in>
Fri, 26 Apr 2013 15:42:55 +0000 (21:12 +0530)
CRM/PCP/Form/PCPAccount.php

index a8b107d1d5f0fb635687fc70b48e977673c58a49..95e1ff2b58a960bdc763482692e4a1f81991d73e 100644 (file)
@@ -64,7 +64,7 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form {
     $this->_component = CRM_Utils_Request::retrieve('component', 'String', $this);
     $this->_id        = CRM_Utils_Request::retrieve('id', 'Positive', $this);
 
-    if (!$this->_pageId && $config->userFrameworkFrontend) {
+    if (!$this->_pageId && $config->userFramework == 'Joomla' && $config->userFrameworkFrontend) {
       $this->_pageId = $this->_id;
     }