summaryrefslogtreecommitdiffstats
path: root/lib/private/files/mount/mount.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/mount/mount.php')
-rw-r--r--lib/private/files/mount/mount.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/mount/mount.php b/lib/private/files/mount/mount.php
index 7561cd7311b..04bccbcab87 100644
--- a/lib/private/files/mount/mount.php
+++ b/lib/private/files/mount/mount.php
@@ -142,6 +142,7 @@ class Mount {
} else {
$internalPath = substr($path, strlen($this->mountPoint));
}
+ // substr returns false instead of an empty string, we always want a string
return (string)$internalPath;
}