Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

fix for zendframework/zf2#3458#3461

Merged
weierophinney merged 1 commit into
zendframework:developfrom
zluiten:hotfix/3458
Jan 17, 2013
Merged

fix for zendframework/zf2#3458#3461
weierophinney merged 1 commit into
zendframework:developfrom
zluiten:hotfix/3458

Conversation

@zluiten
Copy link
Copy Markdown
Contributor

@zluiten zluiten commented Jan 17, 2013

fix for #3458

@Maks3w
Copy link
Copy Markdown
Member

Maks3w commented Jan 17, 2013

Please add a test case

@zluiten
Copy link
Copy Markdown
Contributor Author

zluiten commented Jan 17, 2013

@Maks3w test added to commit

weierophinney added a commit that referenced this pull request Jan 17, 2013
- Trailing whitespace
weierophinney added a commit that referenced this pull request Jan 17, 2013
- $_SESSION is not always present from CLI and/or PHPUnit; check to see
  if it exists before using it. This prevents:
    - notice (undefined variable)
    - catchable fatal error (toArray returning null, which is then
      passed to fromArray() which expects an array)
@weierophinney weierophinney merged commit eae50fd into zendframework:develop Jan 17, 2013
weierophinney added a commit that referenced this pull request Jan 17, 2013
- trailing whitespace
weierophinney added a commit that referenced this pull request Jan 17, 2013
Backport #3461 to master
@weierophinney
Copy link
Copy Markdown
Member

Realized this belonged on master as well, so cherry-picked the commit into master.

@ghost ghost assigned weierophinney Jan 17, 2013
weierophinney added a commit to zendframework/zend-session that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-session that referenced this pull request May 15, 2015
- $_SESSION is not always present from CLI and/or PHPUnit; check to see
  if it exists before using it. This prevents:
    - notice (undefined variable)
    - catchable fatal error (toArray returning null, which is then
      passed to fromArray() which expects an array)
weierophinney added a commit to zendframework/zend-session that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-session that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-session that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants