PHP5.4 PHP Fatal error: Call-time pass-by-reference

Patch for PHP Fatal error: Call-time pass-by-reference error when using
plugin with PHP 5.4 (replace &$this for $this) (Untested with other configs other than php 5.4.17