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

hunmonk’s picture

Status: Active » Fixed

for 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

Anonymous’s picture

Status: Fixed » Closed (fixed)

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