summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Phillips2007-07-12 01:03:37 (GMT)
committer Chad Phillips2007-07-12 01:03:37 (GMT)
commit94e5db17736ef07145188627e33a0b4361481802 (patch)
tree1005313ed841a8053d49c9e45fe913431b3d9b8d
parenta240003a1634b3d702165cd5ccc506c52ec6629b (diff)
#124589 -- Login on Access Denied (403) resets itself when module listing page is submitted. patch by matt@antinomia, gman.
-rwxr-xr-xlogintoboggan.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/logintoboggan.module b/logintoboggan.module
index da6280e..7c80c98 100755
--- a/logintoboggan.module
+++ b/logintoboggan.module
@@ -120,7 +120,7 @@ function logintoboggan_form_alter($form_id, &$form) {
// This will reset the the site 403 variable to the default if the module is disabled and the toboggan redirect on acccess
// denied is enabled.
case 'system_modules':
- if ($_POST && !$_POST['edit']['status']['logintoboggan'] && (db_result(db_query("SELECT status FROM {system} WHERE name = 'logintoboggan'")) == 1) && (variable_get('site_403', '') == 'toboggan/denied')) {
+ 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', '');
}
break;