Posted by AlexisWilke on December 27, 2008 at 9:37am
Jump to:
| Project: | Quotes |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | NancyDru |
| Status: | closed (fixed) |
Issue Summary
In the following, replace the " with ' in the SELECT statement. SQL strings do not accept " (SQL 99 at least).
<?php
// 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
#1
Committed to both branches.
#2
Automatically closed -- issue fixed for two weeks with no activity.