-
Bug
-
Resolution: Fixed
-
Minor
-
3.2.2
-
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) }} |