release 1.3.20

This commit is contained in:
Newcomer1989
2022-06-18 18:36:25 +02:00
parent fab78fa029
commit d2cb86e323
2 changed files with 58 additions and 58 deletions

View File

@@ -422,7 +422,7 @@ function check_db($mysqlcon,$lang,&$cfg,$dbname) {
enter_logfile($cfg,4," [1.3.18] Added new cfg_params values.");
}
if($mysqlcon->exec("CREATE TABLE `$dbname`.`channel` (`cid` int(10) UNSIGNED NOT NULL default '0',`pid` int(10) UNSIGNED NOT NULL default '0',`channel_order` int(10) UNSIGNED NOT NULL default '0',`channel_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,PRIMARY KEY (`cid`));") === false) { } else {
if($mysqlcon->exec("CREATE TABLE IF NOT EXISTS `$dbname`.`channel` (`cid` int(10) UNSIGNED NOT NULL default '0',`pid` int(10) UNSIGNED NOT NULL default '0',`channel_order` int(10) UNSIGNED NOT NULL default '0',`channel_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,PRIMARY KEY (`cid`));") === false) { } else {
enter_logfile($cfg,4," [1.3.18] Created new table channel successfully.");
}