Browse Source

Fix count() warning in include/dba.php

pull/4909/head
Hypolite Petovan 3 years ago
parent
commit
a84477ed2d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/dba.php

+ 1
- 1
include/dba.php View File

@ -971,7 +971,7 @@ class dba {
// Split the SQL queries in chunks of 100 values
// We do the $i stuff here to make the code better readable
$i = $counter[$key_table][$key_condition];
if (count($compacted[$key_table][$key_condition][$i]) > 100) {
if (isset($compacted[$key_table][$key_condition][$i]) && count($compacted[$key_table][$key_condition][$i]) > 100) {
++$i;
}


Loading…
Cancel
Save