Fix file size comparator return value

This commit is contained in:
brumsoel 2014-10-08 01:17:45 +02:00
parent d7db006315
commit 40174b6b10

View file

@ -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;
}
/**