When saving the cookie name, the default submit handler stores the numeric array key, rather than the array value. Wrapping the values in drupal_map_assoc() causes the key and values to match and the submit handler stores the correct value.

CommentFileSizeAuthor
#1 context_cookie-2225525-1.patch1.01 KBheddn

Comments

heddn’s picture

Title: Fix cookie setting storage » Fix cookie condition setting storage
Status: Active » Needs review
StatusFileSize
new1.01 KB
heddn’s picture

Adding tags

daglees’s picture

Status: Needs review » Fixed

Tested and committed.

  • Commit 7abb546 on master by Daglees:
    Issue #2225525 by heddn: Fix cookie condition setting storage.
    

  • Commit 7abb546 on master, 7.x-1.x by Daglees:
    Issue #2225525 by heddn: Fix cookie condition setting storage.
    

Status: Fixed » Closed (fixed)

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

  • Commit b98afd3 on 7.x-1.x by Daglees:
    Issue #2225525 by heddn: Fix cookie condition setting storage.