Merge #15653 - php 7.4 type error
Fixes: #15640 Pull-request: #15653 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
87a84b396c
@ -1184,7 +1184,7 @@ class Results
|
||||
|
||||
for ($j = 0; $j < $number_of_columns; $j++) {
|
||||
// PHP 7.4 fix for accessing array offset on bool
|
||||
$col_visib_current = is_array($col_visib) ? $col_visib[$j] : null;
|
||||
$col_visib_current = is_array($col_visib) && isset($col_visib[$j]) ? $col_visib[$j] : null;
|
||||
|
||||
// assign $i with the appropriate column order
|
||||
$i = $col_order ? $col_order[$j] : $j;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user