Closed (fixed)
Project:
Subscriptions
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2007 at 03:53 UTC
Updated:
13 Mar 2007 at 06:45 UTC
The dev version of subscriptions 5.x-1.x-dev is selecting NIDs improperly, at least it breaks in PostgreSQL. Taxonomy does this right:
taxonomy/taxonomy.module: db_query('DELETE FROM {term_node} WHERE nid = %d', $n
id);
But the subscriptions module is doing it wrong:
subscriptions/subscriptions.module: $result = db_query('SELECT tid FROM {term_n
ode} WHERE nid = "%s"', $nid);
This patch fixes this by changing the latter to match the former, fixing the bug.
| Comment | File | Size | Author |
|---|---|---|---|
| subscriptions_module_20070226_extraquotes.patch | 497 bytes | PMunn |
Comments
Comment #1
arthurf commentedThanks for pointing this out, this is now fixed in cvs.
Comment #2
(not verified) commented