Skip to content

Commit

Permalink
Remove one debug warning when strict checking is active
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 6, 2013
1 parent b747dd7 commit cc679c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kronolith/lib/Kronolith.php
Expand Up @@ -852,7 +852,8 @@ static public function initialize()
$GLOBALS['all_holidays'] = array();
if (!empty($GLOBALS['conf']['holidays']['enable'])) {
if (class_exists('Date_Holidays')) {
foreach (Date_Holidays::getInstalledDrivers() as $driver) {
$dh = new Date_Holidays();
foreach ($dh->getInstalledDrivers() as $driver) {
if ($driver['id'] == 'Composite') {
continue;
}
Expand Down

0 comments on commit cc679c7

Please sign in to comment.