Commit 652e3efc authored by greggles's avatar greggles

Issue #1106336 by greggles: Notices when posting a comment on Line 417, 440

parent 6b75c98b
......@@ -413,7 +413,7 @@ function _comment_notify_mailalert($comment) {
return;
}
if (!isset($comment->mail)) {
if (empty($comment->mail)) {
$comment_account = user_load_by_name($comment->name);
$comment_mail = $comment_account->mail;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment