Cache_Browscap does not have prefix appended properly
blb - November 10, 2007 - 17:30
| Project: | Browscap |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
when it is created it has no prefix, but the code expects a prefix so there are errors when using a site with a prefix in the database:
_cache_browscap' doesn't exist query:
etc. etc.

#1
the culprit is line 24 of browscap.install:
$queries &= db_query("CREATE TABLE cache_browscap (should be:
$queries &= db_query("CREATE TABLE {cache_browscap} (the curly braces are missing.
#2
Fix commited to DRUPAL-5 branch, thanks!
#3
Automatically closed -- issue fixed for two weeks with no activity.