Fixes #17779 php8 throws exception in spite of @ symbol so work around it Signed-off-by: Alex Liberman <alex@zoosmart.us>
This commit is contained in:
parent
04042517a5
commit
c958e27bfa
@ -738,9 +738,12 @@ class Results
|
||||
: 'false') . ';"';
|
||||
|
||||
$hasRealEndInput = $isInnodb && $this->properties['unlim_num_rows'] > $GLOBALS['cfg']['MaxExactCount'];
|
||||
$posLast = @((int) ceil(
|
||||
(int) $this->properties['unlim_num_rows'] / $_SESSION['tmpval']['max_rows']
|
||||
) - 1) * intval($_SESSION['tmpval']['max_rows']);
|
||||
$posLast = 0;
|
||||
if (is_numeric($_SESSION['tmpval']['max_rows'])) {
|
||||
$posLast = @((int) ceil(
|
||||
(int) $this->properties['unlim_num_rows'] / $_SESSION['tmpval']['max_rows']
|
||||
) - 1) * intval($_SESSION['tmpval']['max_rows']);
|
||||
}
|
||||
|
||||
$hiddenFields = [
|
||||
'db' => $this->properties['db'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user