Fix file size comparator return value
This commit is contained in:
parent
d7db006315
commit
40174b6b10
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class Helper
|
|||
public static function compareSize($a, $b) {
|
||||
$aSize = $a->getSize();
|
||||
$bSize = $b->getSize();
|
||||
return $aSize - $bSize;
|
||||
return ($aSize < $bSize) ? -1 : 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue