Closed Flupsy closed 10 years ago
Can whoever makes this change commit it to the wheezy-changes
branch please?
@BenJam could you assign this to someone in the next few weeks please? It's a blocker to upgrade.
I'll fix this.
Done in 1e14a9544e3aab5b62232992a2aa67ef62db15d9
I ran the tests with this change but I got
[Thu Nov 28 09:20:35 2013] [error] [client 127.0.0.1] FastCGI: server "/data/vhost/ian.petitions.dev.mysociety.org/docs/fcgi/php-basic" stderr: /data/vhost/ian.petitions.dev.mysociety.org/petitions/web/new.php:123: Parameter 1 to petition_submitted_main() expected to be a reference, value given, referer: http://ian.petitions.dev.mysociety.org/new
Try the branch now, I've switched away from call_user_func
as it doesn't support reference at all.
Lovely - thanks :)
PHP 5.4 doesn't allow parameters passed by reference any more, and there are two examples in
new.php
at lines 123 and 128. This will be needed for the wheezy upgrade.