Fix php error "Trying to access array offset on value of type null"
When using column distinct feature Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
99e70491b7
commit
cc58506d14
@ -4442,7 +4442,7 @@ class Results
|
|||||||
$meta
|
$meta
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$column_for_first_row = $row[$sorted_column_index];
|
$column_for_first_row = ($row !== null) ? $row[$sorted_column_index] : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$column_for_first_row = mb_strtoupper(
|
$column_for_first_row = mb_strtoupper(
|
||||||
@ -4471,7 +4471,7 @@ class Results
|
|||||||
$meta
|
$meta
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$column_for_last_row = $row[$sorted_column_index];
|
$column_for_last_row = ($row !== null) ? $row[$sorted_column_index] : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$column_for_last_row = mb_strtoupper(
|
$column_for_last_row = mb_strtoupper(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user