From 001d703ce55f6638588e5a7b4286493c4e98c4fd Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sat, 13 Nov 2021 07:32:12 +0000 Subject: [PATCH] More code cleanup in mail.php --- Rocksolid_Light/spoolnews/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rocksolid_Light/spoolnews/mail.php b/Rocksolid_Light/spoolnews/mail.php index b9a51d0..78b44e5 100644 --- a/Rocksolid_Light/spoolnews/mail.php +++ b/Rocksolid_Light/spoolnews/mail.php @@ -178,7 +178,7 @@ echo ''; } if (isset($_POST['sendMessage'])) { - if (isSet($_POST['to']) && $_POST['to'] != '' && isSet($_POST['from']) && $_POST['from'] != '' && isSet($_POST['message']) && $_POST['message'] != '') { + if (isset($_POST['to']) && $_POST['to'] != '' && isset($_POST['from']) && $_POST['from'] != '' && isset($_POST['message']) && $_POST['message'] != '') { if(($to = get_config_value('aliases.conf', strtolower($_POST['to']))) == false) { $to = strtolower($_POST['to']); }