Commit d56ea598 authored by greggles's avatar greggles

Issue #1805568 by greggles | YuriDunaev: PDOException: SQLSTATE... Base table...

Issue #1805568 by greggles | YuriDunaev: PDOException: SQLSTATE... Base table or view not found when unsubscribing by hash
parent 72072547
......@@ -270,7 +270,7 @@ function comment_notify_unsubscribe_by_hash($hash) {
$result = db_query("SELECT c.cid
FROM {comment} c, (
SELECT oc.nid, oc.uid
FROM {comment} AS oc, comment_notify AS ocn
FROM {comment} AS oc, {comment_notify} AS ocn
WHERE oc.cid = ocn.cid
AND ocn.notify_hash = :hash
) AS o
......
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