Skip to content

Commit

Permalink
Simplify.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 29, 2013
1 parent 8044581 commit 29e5cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kronolith/lib/Calendar/Holiday.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function display()
public function toHash()
{
$hash = parent::toHash();
$hash['show'] = in_array($this->_driver['id'], $GLOBALS['calendar_manager']->get(Kronolith::DISPLAY_HOLIDAYS));
$hash['show'] = $this->display();
return $hash;
}
}

0 comments on commit 29e5cb0

Please sign in to comment.