Merge pull request #4820 from kurund/CRM-15705
[civicrm-core.git] / CRM / Event / Controller / Search.php
index ee6a0a0163100c39bae45074314f93e2fe47f3d6..da641fe2caa3746d820c09d73d48d22deac5138b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -49,7 +49,7 @@ class CRM_Event_Controller_Search extends CRM_Core_Controller {
   /**
    * Class constructor
    */
-  function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
+  public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
     parent::__construct($title, $modal);
 
@@ -77,4 +77,3 @@ class CRM_Event_Controller_Search extends CRM_Core_Controller {
     $this->addActions($uploadDir, $uploadNames);
   }
 }
-