Merge branch '3.4' into 3.5

This commit is contained in:
Daniel Hensby 2017-01-17 11:37:13 +00:00
commit 20e486690c
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E
1 changed files with 2 additions and 1 deletions

View File

@ -322,7 +322,7 @@ class Email extends ViewableData {
/**
* Set the "Reply-To" header with an email address.
*
* @param string $val
* @param string $val The email address of the "Reply-To" header
* @return $this
*/
public function setReplyTo($val) {
@ -432,6 +432,7 @@ class Email extends ViewableData {
/**
* Used by {@link SSViewer} templates to detect if we're rendering an email template rather than a page template
* @return bool
*/
public function IsEmail() {
return true;