Commit 7311dae4 authored by greggles's avatar greggles

Issue #1630070 by chx, greggles: avoid notice on line 315

parent b1a8cf31
......@@ -312,7 +312,7 @@ function comment_notify_form_alter(&$form, &$form_state, $form_id) {
}
$user = $form['#user'];
if ($user->comment_notify_settings) {
if (!empty($user->comment_notify_settings)) {
$node_notify = $user->comment_notify_settings->node_notify;
$comment_notify = $user->comment_notify_settings->comment_notify;
}
......
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