Issue Bug Closed

#63784Do not check for generated key in possibly empty array in DataHandler->fillInFieldArray

Stephan Großberndt 12/11/14, 18:16 updated 10/02/18, 11:48

Description

If $this->exclude_array is empty its not necessary to check for the existence.

foreach ($incomingFieldArray as $field => $fieldValue) {
    if (!in_array(($table . '-' . $field), $this->exclude_array) && !$this->data_disableFields[$table][$id][$field]) {

Reviews 1