Posted by omadasite on January 3, 2009 at 7:06pm
| Project: | GeoUser |
| Version: | 6.x-1.7-beta2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
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.
Comments
#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
#2
Not sure if I categorized this correctly...first post
This fixed my issue with prefixed table name.