1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 01:30:32 +02:00

Fixed all unchecked usages of possibly undefined constant BOOTSTRAP

This commit is contained in:
Nick Liu
2020-11-28 16:10:05 +01:00
parent b3cc2cf117
commit f20052fa77
7 changed files with 10 additions and 9 deletions

View File

@@ -43,7 +43,7 @@ class bbcode_shortcodes extends e_shortcode
);
if(BOOTSTRAP)
if(defined('BOOTSTRAP') && BOOTSTRAP)
{
$text = '<div class="btn-group">';
$text .= '<a class="btn btn-default btn-secondary dropdown-toggle" data-toggle="dropdown" href="#" title="">';