mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
fixing the fix: sql strings (integer
index) were not used in the where clause on update/insert, causing eg. double entries for file-attachments
This commit is contained in:
parent
1f3f5651ee
commit
d0b013767b
@ -1154,7 +1154,7 @@
|
||||
$keys = $values = array();
|
||||
foreach($array as $key => $data)
|
||||
{
|
||||
if (is_int($key) && $only === false || !$only || $only === True && isset($column_definitions[$key]) ||
|
||||
if (is_int($key) || !$only || $only === True && isset($column_definitions[$key]) ||
|
||||
is_array($only) && in_array($key,$only))
|
||||
{
|
||||
$keys[] = $this->name_quote($key);
|
||||
|
Loading…
Reference in New Issue
Block a user