Download & Extend

Cache_Browscap does not have prefix appended properly

Project:Browscap
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#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

Status:active» fixed

Fix commited to DRUPAL-5 branch, thanks!

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here