chg: [helper:bootstrap] Make sure to output the value even if it's a `0`
parent
26c038b25b
commit
c8e5823393
|
@ -450,7 +450,7 @@ class BootstrapGeneric
|
|||
return sprintf('%s="%s"', h($key), (!empty($escape) ? h($value) : $value));
|
||||
}
|
||||
return '';
|
||||
} else if (empty($value)) {
|
||||
} else if (!isset($value)) {
|
||||
return '';
|
||||
}
|
||||
return sprintf('%s="%s"', h($key), (!empty($escape) ? h($value) : $value));
|
||||
|
|
Loading…
Reference in New Issue