Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] \Phalcon\Session\Flash::getMessages(); #11941

Closed
tugrul opened this issue Jul 1, 2016 · 2 comments
Closed

[BUG] \Phalcon\Session\Flash::getMessages(); #11941

tugrul opened this issue Jul 1, 2016 · 2 comments
Assignees
Labels
bug A bug report status: medium Medium
Milestone

Comments

@tugrul
Copy link
Contributor

tugrul commented Jul 1, 2016

Test

$flash = new \Phalcon\Session\Flash();
$flash->error('Error Message');
var_dump($flash->getMessages('success', false));

Expected Result

array (size=0)
  empty

Actual Result

array (size=1)
  'error' => 
    array (size=1)
      0 => string 'Error Message' (length=13)
@stamster
Copy link
Contributor

stamster commented Jul 3, 2016

This issue is present only in 2.1.x branch?

@sergeyklay sergeyklay added this to the 2.1.0 milestone Jul 3, 2016
@sergeyklay sergeyklay self-assigned this Jul 3, 2016
@sergeyklay
Copy link
Contributor

Fixed in the 2.1.x branch.

@niden niden added bug A bug report status: medium Medium and removed Bug - Medium labels Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: medium Medium
Projects
None yet
Development

No branches or pull requests

4 participants