From 306ab5480a7848276b0b27fcf2a1332262329215 Mon Sep 17 00:00:00 2001 From: buttflattery Date: Sat, 18 Jan 2020 20:46:31 +0500 Subject: [PATCH] fixed class name assets --- src/FormWizard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FormWizard.php b/src/FormWizard.php index 4018a97..efb4e0c 100644 --- a/src/FormWizard.php +++ b/src/FormWizard.php @@ -503,7 +503,7 @@ private function _setDefaults() $this->_bsVersion = $this->forceBsVersion; } else { //is bs4 version - $isBs4 = class_exists(BS4Asset::class); + $isBs4 = class_exists(Bs4Assets::class); $this->_bsVersion = $isBs4 ? self::BS_3 : self::BS_4; } @@ -585,7 +585,7 @@ classRestore:'{$this->classRestore}', //if bootstrap3 loaded $isBs3 = $this->_bsVersion == self::BS_3; - + //cerate the form $this->createForm($isBs3);