fix: [helper:bootstrap] Allow HTML param to have value equal to 0
parent
85fd938320
commit
d55c1fd5d1
|
@ -209,7 +209,7 @@ class BootstrapGeneric
|
||||||
{
|
{
|
||||||
$html = '';
|
$html = '';
|
||||||
foreach ($params as $k => $v) {
|
foreach ($params as $k => $v) {
|
||||||
if (!empty($k) && !empty($v)) {
|
if (!empty($k) && (isset($v) && $v !== '')) {
|
||||||
$html .= BootstrapGeneric::genHTMLParam($k, $v) . ' ';
|
$html .= BootstrapGeneric::genHTMLParam($k, $v) . ' ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue