Use empty to check for empty array
This commit is contained in:
parent
6500128451
commit
36135a4c05
|
@ -1155,7 +1155,7 @@ class Statistical
|
||||||
// Return value
|
// Return value
|
||||||
$returnValue = 0;
|
$returnValue = 0;
|
||||||
|
|
||||||
if (!$arrayList) {
|
if (empty($arrayList)) {
|
||||||
return $returnValue;
|
return $returnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue