N°6308 - issue on displaying a userrequest list with Service_details fields with PHP 8

This commit is contained in:
acognet
2023-05-26 00:25:42 +02:00
parent e933807b1c
commit 649457bfc2
2 changed files with 2 additions and 2 deletions

View File

@@ -549,7 +549,7 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory
// Pages length
$aOptions['iPageSize'] = 10;
if ($oCustomSettings->iDefaultPageSize > 0) {
$aOptions['iPageSize'] = $oCustomSettings->iDefaultPageSize;
$aOptions['iPageSize'] = (int)$oCustomSettings->iDefaultPageSize;
}
// Max height is only set if necessary, otherwise we want the list to occupy all the height it can depending on its pagination