Update libraries/Template.php

Fix for "Only variables should be passed by reference"