mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 18:41:52 +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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user