tableofcontents.install: Missing {} around table name

dupalaccount - September 17, 2009 - 14:05
Project:Table of Contents
Version:6.x-3.1
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

Hi there

The statement in the _uninstall() "DELETE FROM variable WHERE name LIKE 'tableofcontents_%'" is missing the {} aroung "variable", otherwise it throws an error if the Drupal tables have a prefix. Correct statement:

DELETE FROM {variable} WHERE name LIKE 'tableofcontents_%'

Regards Jens

#1

AlexisWilke - September 17, 2009 - 17:52
Title:tableofcontents.install: Missing {} around table» tableofcontents.install: Missing {} around table name
Status:active» fixed

Done, thank you.

#2

System Message - October 1, 2009 - 18:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.