mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
fixes #3317 ADMIN_AREA is sometimes not defined when the method is called
This commit is contained in:
@@ -586,7 +586,7 @@ class e_bbcode
|
||||
$BBCODE_TEMPLATE = $template;
|
||||
$template = 'comment';
|
||||
}
|
||||
elseif(ADMIN_AREA)
|
||||
elseif(deftrue('ADMIN_AREA'))
|
||||
{
|
||||
$BBCODE_TEMPLATE = $BBCODE_TEMPLATE_ADMIN;
|
||||
}
|
||||
|
Reference in New Issue
Block a user