Tag a release
schmunk42 opened this issue · 2 comments
schmunk42 commented
What steps will reproduce the problem?
Install stable version, and use url-syntax from docs, like so:
{{ url(['/mycontroller2/myaction2'], {'myparam':123}) }}
What's expected?
A rendered page
What do you get instead?
Twig_Error_Runtime
An exception has been thrown during the rendering of a template ("Array to string conversion").
This commit 37c0e39 fixes this.
Additional info
Q | A |
---|---|
Yii version | 2.0.11 (Twig 2.0.6) |
PHP version | 7.1 |
Operating system | Linux (Docker) |
samdark commented
On it.
schmunk42 commented
Nice, thank you.
Tests failed on PHP 7, btw. But looks like a phpunit
issue.