diff options
| author | Cash Costello <cash.costello@gmail.com> | 2011-11-12 09:36:47 -0500 | 
|---|---|---|
| committer | cash <cash.costello@gmail.com> | 2011-11-16 19:53:03 -0500 | 
| commit | 2f24f33695754fa6bf9128f88de431fc44c9f7d6 (patch) | |
| tree | c2249796330a79c8ebc5501110c9c22babeadf30 /mod | |
| parent | 1bbbc5c4b7e978d507c8d20532ae0420cc732164 (diff) | |
| download | elgg-2f24f33695754fa6bf9128f88de431fc44c9f7d6.tar.gz elgg-2f24f33695754fa6bf9128f88de431fc44c9f7d6.tar.bz2 | |
fixed exception being thrown when no site email address has been set
Diffstat (limited to 'mod')
| -rw-r--r-- | mod/invitefriends/actions/invite.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/mod/invitefriends/actions/invite.php b/mod/invitefriends/actions/invite.php index d9b6db792..eed156d69 100644 --- a/mod/invitefriends/actions/invite.php +++ b/mod/invitefriends/actions/invite.php @@ -60,7 +60,7 @@ foreach ($emails as $email) {  	// create the from address  	$site = get_entity($site->guid); -	if (($site) && (isset($site->email))) { +	if ($site && $site->email) {  		$from = $site->email;  	} else {  		$from = 'noreply@' . get_site_domain($site->guid); | 
