Merge pull request #21704 from frederic34/patch-5

fix php8 warning
This commit is contained in:
Laurent Destailleur 2022-08-11 01:29:54 +02:00 committed by GitHub
commit 97e198c4ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -557,6 +557,7 @@ if (!empty($extrafields->attributes[$object->table_element]['computed']) && is_a
// --------------------------------------------------------------------
$i = 0;
$totalarray = array();
$totalarray['nbfield'] = 0;
while ($i < ($limit ? min($num, $limit) : $num)) {
$obj = $db->fetch_object($resql);
if (empty($obj)) {