From 0a1c6dae8b2569b9dfc39ea0654ee7a0982d57c0 Mon Sep 17 00:00:00 2001 From: SiskelDev Date: Fri, 30 May 2025 00:47:24 +0200 Subject: [PATCH] added the exception if nsfw is selected --- admin/insert.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/insert.php b/admin/insert.php index 18e66a2..9c96937 100644 --- a/admin/insert.php +++ b/admin/insert.php @@ -394,6 +394,10 @@ if (isset($_POST["url"])) { if (resultInput.value == "" || resultInput.value == " ") { resultInput.value = "props"; } + + if (resultInput.value == "nsfw" || resultInput.value == "nsfw ") { + resultInput.value = "nsfw props"; + } } // Add event listeners to all checkboxes