diff --git a/assets/pasted-20260408-230208-7fa3495f.png b/assets/pasted-20260408-230208-7fa3495f.png new file mode 100644 index 0000000..019ec48 Binary files /dev/null and b/assets/pasted-20260408-230208-7fa3495f.png differ diff --git a/assets/pasted-20260408-230935-cd4834ff.png b/assets/pasted-20260408-230935-cd4834ff.png new file mode 100644 index 0000000..d8a81cf Binary files /dev/null and b/assets/pasted-20260408-230935-cd4834ff.png differ diff --git a/scwebhook.php b/scwebhook.php index 9814923..3115711 100644 --- a/scwebhook.php +++ b/scwebhook.php @@ -33,7 +33,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $webhook_id = (int) ($_POST['webhook_id'] ?? 0); $cl_scwebhook_name = trim((string) ($_POST['cl_scwebhook_name'] ?? '')); $cl_scwebhook_url = trim((string) ($_POST['cl_scwebhook_url'] ?? '')); - $cl_scwebhook_is_forum = isset($_POST['cl_scwebhook_is_forum']) ? 1 : 0; + $cl_scwebhook_is_forum = 0; if ($cl_scwebhook_name === '' || $cl_scwebhook_url === '') { auth_flash_set('error', 'Le nom et l’URL du webhook sont obligatoires.'); @@ -570,7 +570,7 @@ $banners = $stmt_banners->fetchAll();