Skip to content

Commit

Permalink
fixes e107inc#3317 ADMIN_AREA is sometimes not defined when the metho…
Browse files Browse the repository at this point in the history
…d is called
  • Loading branch information
SimSync committed Aug 9, 2018
1 parent 937ef03 commit fe7bb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e107_handlers/bbcode_handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ function renderButtons($template='', $id='', $options=array())
$BBCODE_TEMPLATE = $template;
$template = 'comment';
}
elseif(ADMIN_AREA)
elseif(deftrue('ADMIN_AREA'))
{
$BBCODE_TEMPLATE = $BBCODE_TEMPLATE_ADMIN;
}
Expand Down

0 comments on commit fe7bb66

Please sign in to comment.