Project:Teleport
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:incidentist
Status:closed (fixed)

Issue Summary

you do a variable_get in the global scope. it is: define('TELEPORT_HOTKEY', variable_get('teleport_hotkey', 'T'));.

thats a little undrupalish. please move this code to hook_init(). you don't always know that variable_get() is working when you get included.

Comments

#1

Assigned to:Anonymous» incidentist
Status:active» fixed

Changed the define() to define the default key character, and use variable_get()s where TELEPORT_HOTKEY used to be.

#2

Status:fixed» closed (fixed)

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

nobody click here