From 2f43c1f21dafe20a4be30de95d818979812d6306 Mon Sep 17 00:00:00 2001 From: Aera23 <130415001+Aera23@users.noreply.github.com> Date: Mon, 16 Mar 2026 04:12:13 +0000 Subject: [PATCH] fix SQL syntax error by adding ') to line 4943 (before the semicolon), the bracket and quote are closed, fixing the error :3 --- chat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.php b/chat.php index 7b4f291..9bd1b52 100644 --- a/chat.php +++ b/chat.php @@ -4940,7 +4940,7 @@ function update_db(): void $db->exec('INSERT INTO ' . PREFIX . "settings (setting,value) VALUES ('hide_reload_post_box', '0'), ('hide_reload_messages', '0'),('hide_profile', '0'),('hide_admin', '0'),('hide_notes', '0'),('hide_clone', '0'),('hide_rearrange', '0'),('hide_help', '0'),('max_refresh_rate', '150'),('min_refresh_rate', '5'),('postbox_delete_globally', '0'),('allow_js', '1');"); } if($dbversion<48){ - $db->exec('INSERT INTO ' . PREFIX . "settings (setting, value) VALUES ('exitwait', '180'), ('exitingtxt', ' 🚪"); // door emoji + $db->exec('INSERT INTO ' . PREFIX . "settings (setting, value) VALUES ('exitwait', '180'), ('exitingtxt', ' 🚪');"); // door emoji $db->exec('ALTER TABLE ' . PREFIX . 'sessions ADD COLUMN exiting smallint NOT NULL DEFAULT 0;'); } if($dbversion<49){