From: pdontthink Date: Mon, 9 Jan 2012 20:41:02 +0000 (+0000) Subject: Account for case when no reply-to is set in user prefs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=52ead32b39c66cc83112a68d65d78b6f8c86cbc5;p=squirrelmail.git 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 --- 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);