1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-05 05:55:15 +02:00

Fix a bug we inherited from Smarty a long time ago

git-svn-id: file:///svn/phpbb/trunk@9109 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Chris Smith 2008-11-24 11:38:22 +00:00
parent 0955e2e539
commit 528bd80651

View File

@ -559,7 +559,7 @@ class template_filter extends php_user_filter
{
$expr_end++;
$expr_arg = $tokens[$expr_end++];
$expr = "!(($is_arg / $expr_arg) % $expr_arg)";
$expr = "!(($is_arg / $expr_arg) & 1)";
}
else
{
@ -572,7 +572,7 @@ class template_filter extends php_user_filter
{
$expr_end++;
$expr_arg = $tokens[$expr_end++];
$expr = "(($is_arg / $expr_arg) % $expr_arg)";
$expr = "(($is_arg / $expr_arg) & 1)";
}
else
{