diff --git a/View/Helper/BootstrapFormHelper.php b/View/Helper/BootstrapFormHelper.php index 19da317..27f387c 100644 --- a/View/Helper/BootstrapFormHelper.php +++ b/View/Helper/BootstrapFormHelper.php @@ -149,6 +149,8 @@ public function create($model = null, $options = array()) { if (in_array(self::FORM_HORIZONTAL, $class)) { $this->_isHorizontal = true; + } else { + $this->_isHorizontal = false; } if (in_array(self::FORM_SEARCH, $class) || in_array(self::FORM_INLINE, $class)) {