Fix EZP-22463: change the '[]' to work in a PHP 5.3

Fix for issue [EZP-22463](https://jira.ez.no/browse/EZP-22463)

Change the array selector to work in a PHP 5.3