Merge pull request #11471 from brumsoel/master

Fix file size comparator return value
This commit is contained in:
Morris Jobke 2014-10-08 20:39:13 +02:00
commit 2f1605cfc3
1 changed files with 1 additions and 1 deletions

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