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

Assigned to:Anonymous» NancyDru
Status:active» fixed

Committed to both branches.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.