Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Commit

Permalink
Fix #177
Browse files Browse the repository at this point in the history
  • Loading branch information
neilime authored Jul 9, 2016
1 parent e0044de commit eef3fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwbBundle/View/Helper/TwbBundleBadge.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TwbBundleBadge extends AbstractHelper
*/
public function __invoke($sBadgeMessage = null, array $aBadgeAttributes = null)
{
if (!$sBadgeMessage) {
if ($sBadgeMessage === null) {
return $this;
}
return $this->render($sBadgeMessage, $aBadgeAttributes);
Expand Down

0 comments on commit eef3fe1

Please sign in to comment.