mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 22:40:23 +01:00
killed a warning if no table-definition, as requested by Cornelius Weiss
This commit is contained in:
parent
5be4d30994
commit
6ef1f7113c
@ -1189,7 +1189,7 @@
|
|||||||
break;
|
break;
|
||||||
case 'mysql':
|
case 'mysql':
|
||||||
// use replace if primary keys are included
|
// use replace if primary keys are included
|
||||||
if (count(array_intersect(array_keys($where),$table_def['pk'])) == count($table_def['pk']))
|
if (count(array_intersect(array_keys($where),(array)$table_def['pk'])) == count($table_def['pk']))
|
||||||
{
|
{
|
||||||
$cmd = 'REPLACE';
|
$cmd = 'REPLACE';
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user