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)