summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mediafile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mediafile.php b/lib/mediafile.php
index 31868daec..4aa8211c3 100644
--- a/lib/mediafile.php
+++ b/lib/mediafile.php
@@ -242,7 +242,7 @@ class MediaFile
$stream = stream_get_meta_data($fh);
- if (MediaFile::respectsQuota($user, filesize($stream['uri']))) {
+ if (!MediaFile::respectsQuota($user, filesize($stream['uri']))) {
// Should never actually get here