Skip to content

Commit

Permalink
Changed to $current->user_email; See: wpsharks/comment-mail#204
Browse files Browse the repository at this point in the history
  • Loading branch information
kristineds committed Feb 4, 2016
1 parent 9e2e6d7 commit ae8125a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ public function current_value_for($key_prop)
break;

case 'email':
if(!empty($current->email)) {
return (string)$current->email;
if(!empty($current->user_email)) {
return (string)$current->user_email;
}
break;
}
Expand Down

0 comments on commit ae8125a

Please sign in to comment.