From 1897fc8f42dece45e6d5882983577d1fc1d1925f Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Thu, 28 Feb 2019 14:51:04 +0100 Subject: [PATCH] Tweak bootstrap check (also take into account BS4) --- e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php index 2da5a6338..c099078a8 100644 --- a/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php @@ -207,7 +207,7 @@ "; --*/ - return (defset('BOOTSTRAP') == 3 && !empty($FORUM_VIEWFORUM_TEMPLATE['iconkey'])) ? e107::getParser()->parseTemplate($FORUM_VIEWFORUM_TEMPLATE['iconkey'], true) : " + return (defset('BOOTSTRAP') && !empty($FORUM_VIEWFORUM_TEMPLATE['iconkey'])) ? e107::getParser()->parseTemplate($FORUM_VIEWFORUM_TEMPLATE['iconkey'], true) : "
" . IMAGE_new_small . "