diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-07-10 03:45:57 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-07-10 03:45:57 -0400 |
commit | e43d8732d40eecc7f709cdda048ffb6e388710db (patch) | |
tree | a610b7a1e26abab4b4f500d92189d6cf682dbf27 /phpBB/includes/template | |
parent | 66cef00589970ab0c16283a2de19f0ca37835839 (diff) | |
download | forums-e43d8732d40eecc7f709cdda048ffb6e388710db.tar forums-e43d8732d40eecc7f709cdda048ffb6e388710db.tar.gz forums-e43d8732d40eecc7f709cdda048ffb6e388710db.tar.bz2 forums-e43d8732d40eecc7f709cdda048ffb6e388710db.tar.xz forums-e43d8732d40eecc7f709cdda048ffb6e388710db.zip |
[feature/template-engine] Add ampersands to return refs by reference.
PHPBB3-9726
Diffstat (limited to 'phpBB/includes/template')
-rw-r--r-- | phpBB/includes/template/context.php | 4 |
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; |