From beb1734681c854d7fcd52bf3231c8724b9da26eb Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Tue, 26 Feb 2019 17:02:46 +0100 Subject: [PATCH] Tweak bootstrap check Allow for BS4 as well --- e107_handlers/form_handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index db79e3a28..24fa41ccc 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -740,7 +740,7 @@ class e_form $options['class'] = "tbox"; } - if(deftrue('BOOTSTRAP') === 3) + if(deftrue('BOOTSTRAP')) { $options['class'] .= ' form-control'; }