Download & Extend

Incorrectly placed curly bracket } around table name in db_query

Project:Bibliography Module
Version:6.x-1.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Status:active» needs review

#2

Status:needs review» fixed

Correct, it was not intentional and is now fixed.

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

#3

Status:fixed» closed (fixed)

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