From 3a44ccbf85345e687e0f75c1bb68e6ac6c99abd5 Mon Sep 17 00:00:00 2001 From: 8chan Date: Mon, 16 Feb 2015 16:35:37 -0800 Subject: [PATCH] Blank email if config.field_email_selectbox --- post.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/post.php b/post.php index ef7f2058..b7661ef3 100644 --- a/post.php +++ b/post.php @@ -327,6 +327,9 @@ elseif (isset($_POST['post'])) { if ($config['field_disable_email']) $_POST['email'] = ''; + + if ($config['field_email_selectbox'] && $_POST['email'] != 'sage') + $_POST['email'] = ''; if ($config['field_disable_password']) $_POST['password'] = '';