In the .module file this line:


if($user->uid & $_GET['q'] != $change_password_url && $_GET['q'] != drupal_get_path_alias('logout'))

Should be this:


if($user->uid && $_GET['q'] != $change_password_url && $_GET['q'] != drupal_get_path_alias('logout'))

I'm not exactly sure why the wrong code fails in some cases and not others.

Comments

jaypan’s picture

I'm actually surprised it even worked in the first place! Thank you for letting me know about it.

I'm going to try to do an update on this module this week - a few bugs have been reported in the last week or so that need fixing. I'll include this fix at that point.

jaypan’s picture

Thank you for tracking this down. The code has been fixed in version 6.x-3.2.

jaypan’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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