Closed (fixed)
Project:
LoginToboggan
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2010 at 00:40 UTC
Updated:
2 Apr 2010 at 03:00 UTC
The implementation of hook_theme() isn't specifying the arguments correctly. It should be array('name_of_variable' => 'default value'). Right now it's specified more like this array(0 => 'name_of_variable'), which means in the (very unlikely) situation that a user made a lt-username-title.tpl.php file, the variable name would be called $0 instead of $name_of_variable.
This has already been corrected in the Drupal 7 version.
| Comment | File | Size | Author |
|---|---|---|---|
| logintoboggan_hook_theme.patch | 1.23 KB | quicksketch |
Comments
Comment #1
hunmonk commentedthis issue was already addressed in 7.x -- committed to 6.x-1.x-dev, thx!