After installing the module, users which are already logged in see an error message

Notice: Undefined index: remember_me in remember_me_init() (Zeile 18 von /home/pacs/sie00/users/nuke/doms/www.gospelszene.de/htdocs/portal/sites/all/modules/remember_me/remember_...).
Notice: Undefined index: remember_me in remember_me_init() (Zeile 24 von /home/pacs/sie00/users/nuke/doms/www.gospelszene.de/htdocs/portal/sites/all/modules/remember_me/remember_...).

The provided fix treats a user who is logged in but so far has no yes/no ehtry like a user who opted against remembering. At least that was the intention. Please review.

-Karsten
PS: My tiny first contribution to Drupal -- pls. bear with me

CommentFileSizeAuthor
remember_me.patch992 bytesKarsten.S

Comments

Starminder’s picture

subscribe.

nickl’s picture

Fixed

nickl’s picture

Status: Needs review » Fixed

Fixed, only the state for enabled remember_me field is now stored to simplify the checking process as well.

Status: Fixed » Closed (fixed)

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