Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
More deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
David Yell committed Apr 30, 2018
1 parent ab01853 commit 6377e9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/View/Helper/BooleanHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class BooleanHelper extends Helper
public function display($value)
{
if ($value === true || $value == 1) {
$return = $this->Html->tag('span', $this->config()[1]['display'], ['class' => $this->config()[1]['class']]);
$return = $this->Html->tag('span', $this->getConfig()[1]['display'], ['class' => $this->getConfig()[1]['class']]);
} else {
$return = $this->Html->tag('span', $this->config()[0]['display'], ['class' => $this->config()[0]['class']]);
$return = $this->Html->tag('span', $this->getConfig()[0]['display'], ['class' => $this->getConfig()[0]['class']]);
}

return $return;
Expand Down

0 comments on commit 6377e9f

Please sign in to comment.