From 8257d1c82809165608b33268a561b53fd78675a4 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 17 Aug 2007 21:29:20 +0000 Subject: ok, the nasty one then... :/ git-svn-id: file:///svn/phpbb/trunk@8044 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_template.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'phpBB/includes/functions_template.php') diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php index ba3b1ab106..0d8a39eaee 100644 --- a/phpBB/includes/functions_template.php +++ b/phpBB/includes/functions_template.php @@ -627,11 +627,11 @@ class template_compile { $expr_end++; $expr_arg = $tokens[$expr_end++]; - $expr = "!(isset($is_arg) && ($is_arg / $expr_arg) % $expr_arg)"; + $expr = "!(($is_arg / $expr_arg) % $expr_arg)"; } else { - $expr = "!(isset($is_arg) && $is_arg & 1)"; + $expr = "!($is_arg & 1)"; } break; @@ -640,11 +640,11 @@ class template_compile { $expr_end++; $expr_arg = $tokens[$expr_end++]; - $expr = "(isset($is_arg) && ($is_arg / $expr_arg) % $expr_arg)"; + $expr = "(($is_arg / $expr_arg) % $expr_arg)"; } else { - $expr = "(isset($is_arg) && $is_arg & 1)"; + $expr = "($is_arg & 1)"; } break; @@ -653,7 +653,7 @@ class template_compile { $expr_end++; $expr_arg = $tokens[$expr_end++]; - $expr = "!(isset($is_arg) && $is_arg % $expr_arg)"; + $expr = "!($is_arg % $expr_arg)"; } break; } -- cgit v1.2.1