CRM/Event/Form/ManageEvent/Registration.php - Fix static usage warning
authorTim Otten <totten@civicrm.org>
Sat, 17 Jan 2015 11:41:52 +0000 (03:41 -0800)
committerTim Otten <totten@civicrm.org>
Sat, 17 Jan 2015 12:16:05 +0000 (04:16 -0800)
CRM/Event/Form/ManageEvent/Registration.php

index 72640c0a1b1d42b1c48e6c03dc66336103e78611..8bb87d01f8b8080db83b02a6c0e9380af06834e5 100644 (file)
@@ -730,7 +730,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
    * @param int $rgId
    * @return bool
    */
-  public function canProfilesDedupe($profileIds, $rgId = 0) {
+  public static function canProfilesDedupe($profileIds, $rgId = 0) {
 
     // find the unsupervised rule