Standardize on get not request
authorColeman Watts <coleman@civicrm.org>
Wed, 30 Apr 2014 03:03:24 +0000 (20:03 -0700)
committerColeman Watts <coleman@civicrm.org>
Wed, 30 Apr 2014 03:03:24 +0000 (20:03 -0700)
CRM/Core/Form.php

index 0a0b08c5cd7c0d67bfca21a0e9b7e514f4cb4b72..d4c07cec6e65ea85d8466a59dd367e8815ced3bb 100644 (file)
@@ -174,7 +174,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
       self::$_template = CRM_Core_Smarty::singleton();
     }
 
-    $this->assign('snippet', CRM_Utils_Array::value('snippet', $_REQUEST));
+    $this->assign('snippet', CRM_Utils_Array::value('snippet', $_GET));
   }
 
   static function generateID() {