Project

General

Profile

Actions

Bug #60101

closed

Cleanup - Stupid array assignment

Added by Sascha Egerer over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
Start date:
2014-07-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF