Merge pull request #3943 from civicrm/master
[civicrm-core.git] / CRM / Event / Page / ParticipantListing.php
index d700054051d62611d7c8622f71328ca56347b7f4..3af30d08624c7c81205abe78bcb3221d1343d039 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -90,7 +90,7 @@ class CRM_Event_Page_ParticipantListing extends CRM_Core_Page {
       CRM_Core_Error::fatal('Participant listing code file: ' . $classFile . ' does not exist. Please verify your custom particpant listing settings in CiviCRM administrative panel.');
     }
 
-    eval("\$participantListingClass = new $className( );");
+    $participantListingClass = new $className();
 
     $participantListingClass->preProcess();
     $participantListingClass->run();