From b738ddee4e9ff1ebec603e7b0f0a689e6a527444 Mon Sep 17 00:00:00 2001 From: fuzzykitten Date: Sun, 13 Apr 2025 06:17:50 -0400 Subject: [PATCH] fixed typo, fixed bug that would reappear shadowed posts after import --- opt/admin.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/opt/admin.php b/opt/admin.php index c30312a..2363fd1 100644 --- a/opt/admin.php +++ b/opt/admin.php @@ -660,6 +660,7 @@ function import_overboard($db, $settings) $text = $post['text']; $sub = $post['sub']; $org_id = $post['org_id']; + $shadow = $post['shadow']; if (!empty($post['timestamp'])) { $timestamp = $post['timestamp']; @@ -705,10 +706,10 @@ function import_overboard($db, $settings) original, move_message, edit_message) VALUES ('$post_id', '$sub', ?, - '$org_id', 'no', '$global_id', + '$org_id', '$shadow', '$global_id', '$text_id', '$timestamp', '$name', '$tripcode', - '$post_id', ?, ?')"); + '$post_id', ?, ?)"); $statement->bindParam(1, $text); $statement->bindParam(2, $move_message); $statement->bindParam(3, $edit_message);