Permalink
Browse files

Bump dependency

  • Loading branch information...
flack committed Jul 9, 2018
1 parent 0d3b734 commit b6fdfe4c0b31d2ce0cf2e047e15cedc7e66b3b20
Showing with 2 additions and 2 deletions.
  1. +1 −1 composer.json
  2. +1 −1 lib/org/openpsa/calendar/handler/json.php
View
@@ -21,7 +21,7 @@
"php": "^5.5.35 || ^5.6.21 || >7.0.4",
"ext-mbstring": "*",
"ext-iconv": "*",
"checkdomain/holiday": "^2.0.0",
"checkdomain/holiday": "^3.0.0",
"doctrine/cache": "^1.5.4",
"ezyang/htmlpurifier": "^4.7",
"gregwar/captcha": "^1.0",
@@ -45,7 +45,7 @@ private function add_holidays($from, $to)
$from = new DateTime(strftime('%Y-%m-%d', $from));
$to = new DateTime(strftime('%Y-%m-%d', $to));
$country = $this->_config->get('holidays_country');
if (class_exists('\\Checkdomain\\Holiday\\Provider\\' . $country)) {
if (class_exists('\\Checkdomain\\Holiday\\Provider\\' . strtoupper($country))) {
$util = new \Checkdomain\Holiday\Util;
$region = $this->_config->get('holidays_region');

0 comments on commit b6fdfe4

Please sign in to comment.