[feature/template-engine] Add ampersands to return refs by reference.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev 2011-07-10 03:45:57 -04:00
parent 66cef00589
commit e43d8732d4

View file

@ -73,7 +73,7 @@ class phpbb_template_context
*
* @return array template data
*/
public function get_data_ref()
public function &get_data_ref()
{
// returning a reference directly is not
// something php is capable of doing
@ -91,7 +91,7 @@ class phpbb_template_context
*
* @return array template data
*/
public function get_root_ref()
public function &get_root_ref()
{
// rootref is already a reference
return $this->rootref;