mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Fixed all unchecked usages of possibly undefined constant BOOTSTRAP
This commit is contained in:
@@ -166,7 +166,7 @@ class search extends e_shortcode
|
||||
<button class='btn btn-primary dropdown-toggle' tabindex='-1' data-toggle='dropdown' type='button'>
|
||||
";
|
||||
|
||||
if(BOOTSTRAP !== 4)
|
||||
if(defined('BOOTSTRAP') && BOOTSTRAP !== 4)
|
||||
{
|
||||
$text .= "<span class='caret'></span></button>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user