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']) {
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | notice-error-session-1862276-2.patch | 637 bytes | izus |
| #1 | notice-error-session-1862276-1.patch | 593 bytes | joseffriedrich |
Comments
Comment #1
joseffriedrich commentedComment #2
izus commented#1 is not suffisant to know if the session is set with TRUE value.
wil merge a little different version attached here
Comment #3
izus commentedoups, after double verification, the variable can only have the value 1 or is undefined so #1 is totally good !
Comment #4
joseffriedrich commentedcool ...
Comment #5
izus commentedmerged #1 in 7.x-1.x
Thanks !