Table prefixes ignored
clockwerx@www.s... - November 3, 2004 - 00:40
| Project: | FOAF |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
When using the buddylist module, this error is thrown:
user error: Table 'freshfm_net_au.users' doesn't exist
query: SELECT u.name, u.mail FROM users u INNER JOIN buddylist b ON u.uid=b.buddy WHERE b.uid=2 in /mnt/1/freshfmw/www/www.fres...
I think this is actually a buddylist issue, but i'm unsure.
The table prefix is set to "drupal_" and is ignored by the extension.

#1
Here's a patch.
#2
fixed in both HEAD and DRUPAL-4-5 by using buddylist_get_buddies instead (which has proper db_prefix handling).
#3