X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FTask%2FPrint.php;h=0d96564728b1c33a8a8df50723c72a142eaf7bf5;hb=4d5c2eb510a6be0017085d1f8dae09495e28e74b;hp=cb3b7c89c8b0d7e2329174af5a725479e146b3d0;hpb=6a4880350680e1e4d20e5c8a622a791f926ca750;p=civicrm-core.git diff --git a/CRM/Contact/Form/Task/Print.php b/CRM/Contact/Form/Task/Print.php index cb3b7c89c8..0d96564728 100644 --- a/CRM/Contact/Form/Task/Print.php +++ b/CRM/Contact/Form/Task/Print.php @@ -86,15 +86,13 @@ class CRM_Contact_Form_Task_Print extends CRM_Contact_Form_Task { $returnP = isset($returnPropeties) ? $returnPropeties : ""; $customSearchClass = $this->get('customSearchClass'); - eval('$selector = new ' . - $selectorName . - '( $customSearchClass, + $selector = new $selectorName( $customSearchClass, $fv, $params, $returnP, $this->_action, - $includeContactIds );' - ); + $includeContactIds + ); $controller = new CRM_Core_Selector_Controller($selector, NULL, $sortID,