We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

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 178-184    Link Here 
178
			$mail =& new MailTemplate('PASSWORD_RESET_CONFIRM');
178
			$mail =& new MailTemplate('PASSWORD_RESET_CONFIRM');
179
179
180
			// Set the sender based on the current context
180
			// Set the sender based on the current context
181
			if ($journal) {
181
			if ($journal && $journal->getSetting('supportEmail')) {
182
				$email->setFrom($journal->getSetting('supportEmail'), $journal->getSetting('supportName'));
182
				$email->setFrom($journal->getSetting('supportEmail'), $journal->getSetting('supportName'));
183
			} else {
183
			} else {
184
				$mail->setFrom($site->getSiteContactEmail(), $site->getSiteContactName());
184
				$mail->setFrom($site->getSiteContactEmail(), $site->getSiteContactName());

Return to bug 4113