Does not work with database prefix

Sunil Mohan - January 29, 2009 - 11:31
Project:Bad Behavior
Version:6.x-1.0-rc2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

For Drupal databases that have a prefix, bad behavior does not seem to work. I have "www_" as db prefix. Bad behavior module creates a table called "bad_behavior_log" instead of "www_bad_behavior_log". And the Reports->Bad behavior is always empty.

I applied the following patch on my site to make it work.

AttachmentSize
table_prefix.patch1.02 KB
 
 

Drupal is a registered trademark of Dries Buytaert.