Skip to content

Commit 3560c8d

Browse files
author
Till Brehm
committed
Fixed issue in SQL lib.
1 parent d2ed125 commit 3560c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/db_mysql.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ public function insertFromArray($tablename, $data) {
563563
}
564564

565565
$query = 'INSERT INTO ?? (' . $k_query . ') VALUES (' . $v_query . ')';
566-
return $this->query($query, true, $params + $v_params);
566+
return $this->query($query, true, array_merge($params, $v_params));
567567
}
568568

569569
public function diffrec($record_old, $record_new) {

0 commit comments

Comments
 (0)