aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/template')
-rw-r--r--phpBB/includes/template/context.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/template/context.php b/phpBB/includes/template/context.php
index 169add036e..71d82880fe 100644
--- a/phpBB/includes/template/context.php
+++ b/phpBB/includes/template/context.php
@@ -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;