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
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

blb - November 11, 2007 - 15:45

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

mikeryan - June 4, 2008 - 17:42
Status:active» fixed

Fix commited to DRUPAL-5 branch, thanks!

#3

Anonymous (not verified) - June 18, 2008 - 17:52
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.