Closed (fixed)
Project:
LoginToboggan
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2006 at 12:48 UTC
Updated:
31 Dec 2006 at 18:30 UTC
line 72 and next 2 lines from the current module source should become:
//local tab for registration form
if (variable_get('user_register', 1)) {
$items[] = array('path' => 'toboggan/register', 'title' => t('register'), 'callback' => '_logintoboggan_register',
'access' => $user->uid == 0 && variable_get('user_register', 1), 'type' => MENU_LOCAL_TASK, 'weight' => 2);
}
in order to respect the Public registration on/off Drupal setting.
Greetings,
Diman
Comments
Comment #1
hunmonk commentedplease submit your change as a patch in unified diff format, per the patch guidelines in the Drupal Handbook
Comment #2
hunmonk commentedfixed in the latest version of the module
Comment #3
(not verified) commented