diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-05-28 13:47:50 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-06 09:56:01 +0200 |
commit | 42a362f2491e5731ce7cc242891c58dd41a76d00 (patch) | |
tree | fe20df3d2312a033821a492ba28acd68f02f7924 /lib | |
parent | 501f98f084d243007ee64ad7a4386964d98f536a (diff) | |
download | nextcloud-server-42a362f2491e5731ce7cc242891c58dd41a76d00.tar.gz nextcloud-server-42a362f2491e5731ce7cc242891c58dd41a76d00.zip |
Fix phpdoc and comments
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/mount/mount.php | 1 |
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; } |