diff options
Diffstat (limited to 'plugins/GeoIp2/GeoIP2AutoUpdater.php')
-rw-r--r-- | plugins/GeoIp2/GeoIP2AutoUpdater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/GeoIp2/GeoIP2AutoUpdater.php b/plugins/GeoIp2/GeoIP2AutoUpdater.php index 90bc42ecc7..29bcafd975 100644 --- a/plugins/GeoIp2/GeoIP2AutoUpdater.php +++ b/plugins/GeoIp2/GeoIP2AutoUpdater.php @@ -463,7 +463,7 @@ class GeoIP2AutoUpdater extends Task $schema = $parsedUrl['scheme'] ?? ''; $host = $parsedUrl['host'] ?? ''; - if (empty($schema) || empty($host) || !in_array(Common::mb_strtolower($schema), ['http', 'https'])) { + if (empty($schema) || empty($host) || !in_array(mb_strtolower($schema), ['http', 'https'])) { throw new Exception(Piwik::translate('GeoIp2_MalFormedUpdateUrl', '<i>'.Common::sanitizeInputValue($url).'</i>')); } |