Issue Bug Closed

#60101Cleanup - Stupid array assignment

Sascha Egerer 07/04/14, 14:37 updated 10/02/18, 11:54

Description

In FormEngine.php there are two cases where the following assignment is done:

$setAll = array();
$setAll[] = 'foo';
$setAll[] .= 'bar';

The .= does not make sense because it also adds a new array entry.

Reviews 1