forked from extern/egroupware
reverted fix from 2005/11/23 as it caused trouble in other areas (eg. vfs class) and fixed the problem (cant insert sql-strings/numerical id's) in the insert-function
This commit is contained in:
parent
5e3990cea3
commit
14b93846c0
@ -1317,7 +1317,14 @@
|
||||
}
|
||||
break;
|
||||
}
|
||||
$data = array_merge($where,$data); // the checked values need to be inserted too, value in data has precedence
|
||||
// the checked values need to be inserted too, value in data has precedence, also cant insert sql strings (numerical id)
|
||||
foreach($where as $column => $value)
|
||||
{
|
||||
if (!is_numeric($column) && !isset($data[$column]))
|
||||
{
|
||||
$data[$column] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
$inputarr = false;
|
||||
if ($use_prepared_statement && $this->Link_ID->_bindInputArray) // eg. MaxDB
|
||||
|
Loading…
Reference in New Issue
Block a user