PrestaShop/PrestaShop — pull request #2310 by snamor (2014-12-03 08:19:08+00:00)
Title: Cannot access return array in AdminOrdersController.php

As seen in http://php.net/manual/en/language.types.array.php#example-102, is not possible to access the array key of the return of a function directly prior to PHP 5.4.

A temporary variable should be used to solve the problem for previous versions.