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

frankcarey’s picture

Version: 6.x-1.7-beta1 » 6.x-1.7-beta2
Status: Active » Needs review
StatusFileSize
new1.08 KB
new752 bytes

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

rbinning’s picture

Priority: Critical » Normal

Not sure if I categorized this correctly...first post

This fixed my issue with prefixed table name.