Uninstalling PostgreSQL error

AlexisWilke - December 27, 2008 - 09:37
Project:Quotes
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:NancyDru
Status:closed
Description

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

#1

NancyDru - December 30, 2008 - 15:47
Assigned to:Anonymous» NancyDru
Status:active» fixed

Committed to both branches.

#2

System Message - January 13, 2009 - 15:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.