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

Incorrect View::getActiveRenderPath behavior #12139

Closed
sergeyklay opened this issue Aug 14, 2016 · 1 comment
Closed

Incorrect View::getActiveRenderPath behavior #12139

sergeyklay opened this issue Aug 14, 2016 · 1 comment
Assignees
Labels
bug A bug report status: medium Medium
Milestone

Comments

@sergeyklay
Copy link
Contributor

$view = new Phalcon\Mvc\View;
$view->setDI(new Phalcon\Di);
$view->setViewsDir('some/path');

$paths = $view->getActiveRenderPath();

[PHPUnit_Framework_Exception] Cannot use a scalar value as an array in phalcon/mvc/view.zep on line 1345

Refs: #11511

@sergeyklay
Copy link
Contributor Author

Fixed in the 3.0.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

2 participants