Incorrectly placed curly bracket } around table name in db_query

jpmckinney - August 28, 2009 - 01:49
Project:Bibliography Module
Version:6.x-1.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

This can't possibly be intentional:

<?php
    $result
= db_query('SELECT t.* FROM {biblio_types as t WHERE t.tid > 0}');
?>

That closing curly bracket } should be at the end of biblio_types.

This occurs twice in biblio.admin.inc.

#1

jpmckinney - August 28, 2009 - 01:49
Status:active» needs review

#2

rjerome - August 28, 2009 - 15:05
Status:needs review» fixed

Correct, it was not intentional and is now fixed.

http://drupal.org/cvs?commit=257088

#3

System Message - September 11, 2009 - 15:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.