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

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