1
0
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:
Achim Ennenbach
2018-08-09 19:18:36 +02:00
parent 937ef03047
commit fe7bb66b76

View File

@@ -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;
} }