mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Change use of "sizeof()" by "count()" to avoid confusion
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user