View | Details | Raw Unified | Return to bug 4113 | Differences between
and this patch

Collapse All | Expand All

(-)pages/login/LoginHandler.inc.php (-1 / +1 lines)
 Lines 250-256    Link Here 
250
			$mail =& new MailTemplate('PASSWORD_RESET');
250
			$mail =& new MailTemplate('PASSWORD_RESET');
251
251
252
			// Set the sender based on the current context
252
			// Set the sender based on the current context
253
			if ($journal) {
253
			if ($journal && $journal->getSetting('supportEmail')) {
254
				$mail->setFrom($journal->getSetting('supportEmail'), $journal->getSetting('supportName'));
254
				$mail->setFrom($journal->getSetting('supportEmail'), $journal->getSetting('supportName'));
255
			} else {
255
			} else {
256
				$mail->setFrom($site->getSiteContactEmail(), $site->getSiteContactName());
256
				$mail->setFrom($site->getSiteContactEmail(), $site->getSiteContactName());

Return to bug 4113