Skip to content

Commit d2cb86e

Browse files
committed
release 1.3.20
1 parent fab78fa commit d2cb86e

2 files changed

Lines changed: 58 additions & 58 deletions

File tree

jobs/check_db.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ function check_writable($cfg,$mysqlcon) {
422422
enter_logfile($cfg,4," [1.3.18] Added new cfg_params values.");
423423
}
424424

425-
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 {
425+
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 {
426426
enter_logfile($cfg,4," [1.3.18] Created new table channel successfully.");
427427
}
428428

0 commit comments

Comments
 (0)