summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/db.inc.php')
-rw-r--r--frontends/php/include/db.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index f46ffb93..92456cc6 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -735,8 +735,9 @@ else {
$concat = $notin?' AND ':' OR ';
switch($DB['TYPE']) {
+ case 'MYSQL':
case 'ORACLE':
- $items = array_chunk($array, 1000);
+ $items = array_chunk($array, 999);
foreach($items as $id => $value){
if($notin)
$condition.=!empty($condition)?')'.$concat.$fieldname.$in.'(':'';