forked from extern/egroupware
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;
|
||||
case 'mysql':
|
||||
// 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';
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user