Commit 571959a9 authored by gnuget's avatar gnuget Committed by greggles

Issue #3026687 by gnuget: The unsubscribe option is not working

parent 707b9646
......@@ -261,7 +261,7 @@ function comment_notify_unsubscribe_by_email($mail) {
else {
$comment_query->condition('mail', $mail);
$update_query->condition('cid', $comment_query, 'IN');
$update_query->condition('cid', $comment_query->execute(), 'IN');
return (bool)$update_query->execute();
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