Change use of "sizeof()" by "count()" to avoid confusion

This commit is contained in:
Molkobain
2021-09-20 16:59:19 +02:00
parent e930d34963
commit 8af116275c

View File

@@ -842,7 +842,7 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory
"pages": 5 // number of pages to cache
} )'
]);
if(sizeof($aJsFiles)>0) {
if (count($aJsFiles) > 0) {
foreach ($aJsFiles as $sJsFile) {
$aUrlFiles[] = utils::GetAbsoluteUrlAppRoot().$sJsFile;
}