CRM-12213
authorDeepak Srivastava <deepak.srivastava@webaccess.co.in>
Tue, 26 Mar 2013 09:33:04 +0000 (15:03 +0530)
committerDeepak Srivastava <deepak.srivastava@webaccess.co.in>
Tue, 26 Mar 2013 15:30:32 +0000 (21:00 +0530)
CRM/Activity/Form/Activity.php

index f5ebf354e798f5a627155fb885dda2f757085f36..47a8a3c3a6c4c5c3a1c1ea78e1d4ce6d9a76b085 100644 (file)
@@ -372,7 +372,10 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
 
     // set user context
     $urlParams = $urlString = NULL;
-    $qfKey = CRM_Utils_Request::retrieve('qfKey', 'String', $this);
+    $qfKey = CRM_Utils_Request::retrieve('key', 'String', $this);
+    if (!$qfKey) {
+      $qfKey = CRM_Utils_Request::retrieve('qfKey', 'String', $this);
+    }
 
     //validate the qfKey
     if (!CRM_Utils_Rule::qfKey($qfKey)) {