Skip to content

Commit 0cb35d0

Browse files
committed
1 parent 418623f commit 0cb35d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/tform.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ function getHTML($record, $tab, $action = 'NEW') {
362362
// If Datasource is set, get the data from there
363363
if(isset($field['datasource']) && is_array($field['datasource'])) {
364364
if(is_array($field["value"])) {
365-
$field["value"] = array_merge($field["value"],$this->getDatasourceData($field, $record));
365+
$field["value"] = $field["value"] + $this->getDatasourceData($field, $record);
366366
} else {
367367
$field["value"] = $this->getDatasourceData($field, $record);
368368
}

0 commit comments

Comments
 (0)