mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +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;
|
$BBCODE_TEMPLATE = $template;
|
||||||
$template = 'comment';
|
$template = 'comment';
|
||||||
}
|
}
|
||||||
elseif(ADMIN_AREA)
|
elseif(deftrue('ADMIN_AREA'))
|
||||||
{
|
{
|
||||||
$BBCODE_TEMPLATE = $BBCODE_TEMPLATE_ADMIN;
|
$BBCODE_TEMPLATE = $BBCODE_TEMPLATE_ADMIN;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user