Update app_defaults.php

This commit is contained in:
FusionPBX 2017-11-17 08:38:19 -07:00 committed by GitHub
parent 07fd7c2e6b
commit a80fe834ff
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
foreach ($language->legacy_map as $language_code => $legacy_code) {
if(strlen($legacy_code) == 5)
continue;
$sql = "update v_domain_settings set domain_setting_value = '$language_code' where domain_setting_value = '$legacy_code' and deafult_setting_name = 'code' and domain_setting_dubcategory = 'language' and domain_setting_category = 'domain'";
$sql = "update v_domain_settings set domain_setting_value = '$language_code' where domain_setting_value = '$legacy_code' and default_setting_name = 'code' and domain_setting_dubcategory = 'language' and domain_setting_category = 'domain'";
$db->exec(check_sql($sql));
unset($sql);
}
@ -58,4 +58,4 @@
}
unset($prep_statement, $sql);
}
?>
?>