- Affected version
- 2.1.1
This macro has an "allowEdit" argument, however; if this is false
Ref;
$thread.canEdit()
is still called before testing it. This prevents short-circuit evaluation from skipping canEdit
and canUseInlineModeration
checks.Ref;
Code:
<xf:elseif is="$thread.canEdit() AND $thread.canUseInlineModeration() AND {$allowEdit}" />