mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°6308 - issue on displaying a userrequest list with Service_details fields with PHP 8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user