Table Prefix Inoperability
omadasite - January 3, 2009 - 19:06
| Project: | GeoUser |
| Version: | 6.x-1.7-beta2 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs review |
Description
When drupal configuration is set to use table prefixes, the module does not query tables correctly.
Problem: Table names are hard coded.
Recommended Solution: Add Drupal module prefix to include default table prefixes.

#1
Changed all references to tables in db_query() from 'my_table' to '{my_table}' to comply with drupal's database prefixing option.
I only saw 2 files that needed to be changed
- geouser.module
- geouser.inc
Separate patches were made for each file against 7.7-beta