Closed (fixed)
Project:
LoginToboggan
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2008 at 19:56 UTC
Updated:
23 Mar 2008 at 00:33 UTC
I'm having a similar issue as http://drupal.org/node/124589 but the problem only occurs when you have an enabled module that depends on logintoboggan. In this scenario the following code always resets the site_403 variable to blank because $_POST['status']['logintoboggan'] does not exist (due to the fact that the module enabled checkbox is grayed out on the module list page):
if ($_POST && !$_POST['status']['logintoboggan'] && (db_result(db_query("SELECT status FROM {system} WHERE name = 'logintoboggan'")) == 1) && (variable_get('site_403', '') == 'toboggan/denied')) {
variable_set('site_403', '');
}
Comments
Comment #1
hunmonk commentedfor the record, fixing this problem sucked... ;)
it should be fixed now, though -- and in a much cleaner way than before.
applied to 5.x and 6.x
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.