Merge pull request #14497 from megalogi/patch-2

Passing $totalarray as parameter to printFieldListFooter Hook's
This commit is contained in:
Laurent Destailleur 2020-08-19 14:16:26 +02:00 committed by GitHub
commit cfc6ee4f67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -800,7 +800,7 @@ if ($resql)
}
$db->free($resql);
$parameters = array('arrayfields'=>$arrayfields, 'sql'=>$sql);
$parameters = array('arrayfields'=>$arrayfields, 'totalarray' => $totalarray, 'sql'=>$sql);
$reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;