diff --git a/bin/lms-teryt.php b/bin/lms-teryt.php index 1a98069ddd..a9a7803782 100755 --- a/bin/lms-teryt.php +++ b/bin/lms-teryt.php @@ -544,14 +544,14 @@ function get_teryt_file($ch, $type, $outfile) return true; } -$building_base_provider = ConfigHelper::getConfig('teryt.building_base_provider', 'gugik'); +$building_base_provider_type = ConfigHelper::getConfig('teryt.building_base_provider', 'gugik'); if (isset($options['building-base-provider'])) { - $building_base_provider = $options['building-base-provider']; + $building_base_provider_type = $options['building-base-provider']; } -if (!isset($supported_building_base_providers[$building_base_provider])) { - die('Building base provider \'' . $building_base_provider . '\' is not supported!' . PHP_EOL); +if (!isset($supported_building_base_providers[$building_base_provider_type])) { + die('Building base provider \'' . $building_base_provider_type . '\' is not supported!' . PHP_EOL); } -$building_base_provider = $supported_building_base_providers[$building_base_provider]; +$building_base_provider = $supported_building_base_providers[$building_base_provider_type]; if (isset($options['fetch'])) { if (!function_exists('curl_init')) {