From 42a362f2491e5731ce7cc242891c58dd41a76d00 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 28 May 2014 13:47:50 +0200 Subject: Fix phpdoc and comments --- lib/private/files/mount/mount.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/private') 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; } -- cgit v1.2.3