Fixed PHP 5.4 warning 'Only variables should be passed by reference' in group template