Issue Bug Closed

#97011PHP warning because if missing comma as element separator WorkspaceService

TYPO3 GmbH TYPO3com 02/23/22, 16:38 updated 10/04/22, 14:14

Description

missing komma in php-function array_merge on line 658 results in PHP_Warning or Error when calling the function:

from
array_merge($pageList [ (int)$mountPoint ],$this->getPageChildrenRecursive((int)$mountPoint, (int)$recursionLevel, 0, $permsClause));

to
array_merge($pageList, [ (int)$mountPoint ],$this->getPageChildrenRecursive((int)$mountPoint, (int)$recursionLevel, 0, $permsClause));

all array need to be seperated by comma

This issue was automatically created from https://github.com/TYPO3/typo3/pull/359

Reviews 2