From 2a5f1b92b45925c9a56ccb938f15fe632cad240b Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Wed, 13 Aug 2014 12:58:20 +0400 Subject: [PATCH] Fixes #4701 --- Alert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alert.php b/Alert.php index ce85f4a..287385a 100644 --- a/Alert.php +++ b/Alert.php @@ -140,7 +140,7 @@ class Alert extends Widget Html::addCssClass($this->options, 'fade'); Html::addCssClass($this->options, 'in'); - if ($this->closeButton !== null) { + if ($this->closeButton !== false) { $this->closeButton = array_merge([ 'data-dismiss' => 'alert', 'aria-hidden' => 'true',