projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove all eval instances where eval is being used to instantiate a new object using...
[civicrm-core.git]
/
CRM
/
Contact
/
BAO
/
SearchCustom.php
diff --git
a/CRM/Contact/BAO/SearchCustom.php
b/CRM/Contact/BAO/SearchCustom.php
index aa341e12a91c7ad2fca379d2eba24db59fa06a11..76ed287cbf86ee120fb7dc4c04c67adfd82bb311 100644
(file)
--- a/
CRM/Contact/BAO/SearchCustom.php
+++ b/
CRM/Contact/BAO/SearchCustom.php
@@
-99,7
+99,7
@@
class CRM_Contact_BAO_SearchCustom {
}
// instantiate the new class
-
eval('$customClass = new ' . $customSearchClass . '( $formValues );'
);
+
$customClass = new $customSearchClass( $formValues
);
return $customClass;
}