diff --git a/cforms-corrupted.php b/cforms-corrupted.php index 9d638af..77342e4 100644 --- a/cforms-corrupted.php +++ b/cforms-corrupted.php @@ -18,6 +18,11 @@ */ cforms2_check_access_priv(); + +if ($_SERVER['REQUEST_METHOD'] === 'POST') { + if (!check_admin_referer("corruptedsettings")) + return; +} ?>