Fixed some bugs at last install screen (unset country and HTTPS protocol definition)

This commit is contained in:
outkast
2019-04-18 20:29:16 -04:00
parent 5ad82a305e
commit 997f8d3aad
3 changed files with 26 additions and 24 deletions

View File

@@ -153,7 +153,7 @@ if(!$db->hasColumn('accounts', 'premium_points')) {
}
if(!$db->hasColumn('guilds', 'motd')) {
if(query("ALTER TABLE `guilds` MODIFY `motd` VARCHAR(255) NOT NULL DEFAULT '';"))
if(query("ALTER TABLE `guilds` ADD `motd` VARCHAR(255) NOT NULL DEFAULT '';"))
success($locale['step_database_modifying_field'] . ' guilds.motd...');
}