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

Version:6.x-1.7-beta1» 6.x-1.7-beta2
Status:active» needs review

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

AttachmentSize
geouser_inc_db_prefix.patch 752 bytes
geouser_module_db_prefix.patch 1.08 KB

#2

Priority:critical» normal

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

This fixed my issue with prefixed table name.