fix: [helper:bootstrap] Allow HTML param to have value equal to 0

cli-modification-summary
Sami Mokaddem 2022-06-08 11:05:55 +02:00
parent 85fd938320
commit d55c1fd5d1
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ class BootstrapGeneric
{
$html = '';
foreach ($params as $k => $v) {
if (!empty($k) && !empty($v)) {
if (!empty($k) && (isset($v) && $v !== '')) {
$html .= BootstrapGeneric::genHTMLParam($k, $v) . ' ';
}
}