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:
parent
0955e2e539
commit
528bd80651
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user