-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.2.2
-
Fix Version/s: 3.2.4-RC1
-
Component/s: Template Engine
-
Environment:PHP 7.0.21-1
The language system provides for translations like this in PHP:
$language->lang(array('datetime', 'AGO'), 1) |
but when used in Twig as below in development mode (set in config.php) it returns an "array to string conversion" error:
{{ lang(['datetime', 'Sunday'], 1) }} |