From 52ead32b39c66cc83112a68d65d78b6f8c86cbc5 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 9 Jan 2012 20:41:02 +0000 Subject: [PATCH] Account for case when no reply-to is set in user prefs git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14265 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compose.php b/src/compose.php index e0e25eff..fb0a9c57 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1633,7 +1633,7 @@ function deliverMessage(&$composeMessage, $draft=false) { $reply_to = ''; $reply_to = $idents[$identity]['reply_to']; - if (strpos($reply_to, '@') === FALSE) + if ($reply_to && strpos($reply_to, '@') === FALSE) $reply_to .= '@' . $domain; $from_addr = build_from_header($identity); -- 2.25.1