Closed (fixed)
Project:
Quotes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Dec 2008 at 09:37 UTC
Updated:
13 Jan 2009 at 15:50 UTC
In the following, replace the " with ' in the SELECT statement. SQL strings do not accept " (SQL 99 at least).
// Remove all Quotes nodes.
$result = db_query('SELECT nid FROM {node} WHERE type = "quotes"');
while ($obj = db_fetch_object($result)) {
Thank you.
Alexis Wilke
Comments
Comment #1
nancydruCommitted to both branches.