zendframework / zend-session

Manage and preserve session data, a logical complement of cookie data, across multiple page requests by the same client.
BSD 3-Clause "New" or "Revised" License
42 stars 64 forks source link

Fix incorrect check if $options['input'] was ArrayAccess. #122

Closed TysonAndre closed 4 years ago

TysonAndre commented 5 years ago

Previously, $input was always null, and that should have checked $options['input'] instead. (for && ! $input instanceof ArrayAccess) Move the assignment to $input above the conditions.

Provide a narrative description of what you are trying to accomplish:

michalbundyra commented 4 years ago

Thanks, @TysonAndre!