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 |
Jump to:
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
#2
Correct, it was not intentional and is now fixed.
http://drupal.org/cvs?commit=257088
#3
Automatically closed -- issue fixed for 2 weeks with no activity.