Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.8
-
Fix Version/s: 4.4.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
CRM_Utils_Token uses preg_replace with the PREG_REPLACE_EVAL modifier 'e', which is deprecated as of PHP 5.5, and whose use is currently discouraged. This class should use preg_replace_callback() instead. Patch attached.