Fixed set_country_vars() duplicate declaration issue during domain creation

This commit is contained in:
Riccardo Granchi
2014-11-07 15:21:34 +00:00
parent eea6801c55
commit b36cbfb320
+2
View File
@@ -73,6 +73,7 @@ $vars = <<<EOD
EOD; EOD;
// Set country depend variables as country code and international direct dialing code (exit code) // Set country depend variables as country code and international direct dialing code (exit code)
if (!function_exists('set_country_vars')) {
function set_country_vars($db, $x) { function set_country_vars($db, $x) {
$country_list = <<<EOD $country_list = <<<EOD
@@ -458,6 +459,7 @@ EOD;
unset($countries); unset($countries);
} }
}
$x = 1; $x = 1;