Skip to content

Commit 823aa94

Browse files
committed
Fixed format value on Widget
1 parent df21663 commit 823aa94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Widgets/Widget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function getContext(string $name, $value, string $label = null, array
8080
*/
8181
protected function formatValue($value)
8282
{
83-
return !empty($value) ? (string) $value : null;
83+
return $value !== false ? (string) $value : null;
8484
}
8585

8686
/**

0 commit comments

Comments
 (0)