aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-01 12:03:24 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-01 12:03:24 -0500
commitf08330f7620f16ed6a127768a74ef6748bcb972c (patch)
tree830f92f229f243092e1dd61429ee843509e79951 /phpBB/includes/template
parent8c75d1c1bc494220bed313e542902cdc22c5336f (diff)
parent8233c3e340a3608a6952ef444143a10e668d6561 (diff)
downloadforums-f08330f7620f16ed6a127768a74ef6748bcb972c.tar
forums-f08330f7620f16ed6a127768a74ef6748bcb972c.tar.gz
forums-f08330f7620f16ed6a127768a74ef6748bcb972c.tar.bz2
forums-f08330f7620f16ed6a127768a74ef6748bcb972c.tar.xz
forums-f08330f7620f16ed6a127768a74ef6748bcb972c.zip
Merge branch 'develop' of https://github.com/phpbb/phpbb3 into feature/twig
# By Dhruv (7) and others # Via Andreas Fischer (7) and others * 'develop' of https://github.com/phpbb/phpbb3: [ticket/11593] initialize $is_expr as null before being passed to get_varref [ticket/9341] Assert that page doesnt contain next or prev page posts [ticket/9341] Follow the Next/Prev link in tests follow the next/prev link and then assert if the page contains its last post or not [ticket/9341] remove PREV_PAGE tpl var used for backward compatability [ticket/11618] Replace glob() with scandir() and string matching [ticket/9341] Add tests for checking Next and Previous template vars [ticket/9341] Move create_topic and post into functional test case [ticket/11615] Fix typo in creation_test [ticket/11615] Remove magic number in creation_test [ticket/11615] Rename class in file to match [ticket/11615] Rename init_test to creation_test for clarity [ticket/9341] Use U_PREVIOUS and U_NEXT in template files [ticket/9341] Correctly named template vars Conflicts: tests/template/template_test_case.php
Diffstat (limited to 'phpBB/includes/template')
-rw-r--r--phpBB/includes/template/filter.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/template/filter.php b/phpBB/includes/template/filter.php
index f2bd442010..1c0a56c9f5 100644
--- a/phpBB/includes/template/filter.php
+++ b/phpBB/includes/template/filter.php
@@ -475,6 +475,7 @@ class phpbb_template_filter extends php_user_filter
*/
private function compile_var_tags(&$text_blocks)
{
+ $is_expr = null;
$text_blocks = $this->get_varref($text_blocks, $is_expr);
$lang_replaced = $this->compile_language_tags($text_blocks);