Closed (fixed)
Project:
Personalize
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Apr 2014 at 21:05 UTC
Updated:
1 May 2014 at 13:50 UTC
Jump to comment: Most recent
The fix for this requires a change in personalize module that introduces a requirement on PHP 5.3 because in 5.2 you can't use a variable class name when calling a static method on that class. The normal workaround is to use call_user_func_array() instead, but you can't pass arguments by reference when using call_user_func_array(). The only other alternative would be to not have the validation callbacks be class methods but just regular functions. Damned if I'm going to let PHP 5.2 (which was EOL'd 3 years ago) dictate the architecture here though.
Comments
Comment #2
katbailey commented