The line 169 produces an notice error if $_SESSION is not set.

if (variable_get('protected_node_use_global_password', PROTECTED_NODE_PER_NODE_PASSWORD) == PROTECTED_NODE_GLOBAL_PASSWORD && $_SESSION['has_entered_global_password']) {

Comments

joseffriedrich’s picture

StatusFileSize
new593 bytes
izus’s picture

Issue summary: View changes
StatusFileSize
new637 bytes

#1 is not suffisant to know if the session is set with TRUE value.
wil merge a little different version attached here

izus’s picture

oups, after double verification, the variable can only have the value 1 or is undefined so #1 is totally good !

joseffriedrich’s picture

cool ...

izus’s picture

Status: Active » Fixed

merged #1 in 7.x-1.x
Thanks !

Status: Fixed » Closed (fixed)

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