Review TYPO3_6-1 Merged

23456[BUGFIX] Cast autoload and classAliasMap to Array

Christian Kuhn CR +2 V +2 Easy +2 −2 updated 08/29/13, 12:28

Commit message

If you create an empty ext_autoload.php or an empty classAliasMap.php
file or fail to return an array, NULL is merged with the existing
array which results in NULL for the array $classRegistry or
$aliasToClassNameMapping
This patch casts the required Array(which is possibly NULL) to an
Array to prevent array_merge with NULL values.

Review

  • Code review CR +2
    • Christian Kuhn +2
  • Verified V +2
    • Christian Kuhn +2

Files 1

Review log 2

  1. Christian Kuhn voted on patch set 1 V +2 CR +2 08/29/13, 12:28

  2. Christian Kuhn merged patch set 2 08/29/13, 12:28