Skip to content

Commit

Permalink
Merge branch 'hotfix/4.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
pfilsx committed Nov 15, 2019
2 parents cfb452b + 1a85cc7 commit f96952b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Grid/Columns/AbstractColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ protected function setValue($value): void
*/
public function getLabel(): string
{
return $this->label;
return $this->label === false ? '' : $this->label;
}

/**
* @param string $label
* @param string|bool $label
*/
protected function setLabel(string $label): void
protected function setLabel($label): void
{
$this->label = $label;
}
Expand Down

0 comments on commit f96952b

Please sign in to comment.