Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
2f1605cf
Commit
2f1605cf
authored
Oct 08, 2014
by
Morris Jobke
Browse files
Merge pull request #11471 from brumsoel/master
Fix file size comparator return value
parents
f664a31d
40174b6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files/lib/helper.php
View file @
2f1605cf
...
...
@@ -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
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment