mysociety/theyworkforyou — pull request #365 by jacksonj04 (2014-01-22 15:56:52+00:00)
Title: Fix hansard_gid template for PHP5.4 compatibility.

* Closes #364

PHP5.4 removes the ability to pass by reference at call time. Warnings have been generated for a while, but 5.4 is the first version to make it a fatal error.

The generate_commentteaser() function declaration already handles referencing, hence no change is required to the function declaration itself.

See http://stackoverflow.com/questions/8971261/php-5-4-call-time-pass-by-reference-easy-fix-available.