[Pkg-owncloud-commits] [owncloud] 217/457: fix locking root of a view
David Prévot
taffit at moszumanska.debian.org
Sun Jun 28 20:06:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit f0b86727299728bb7243e99584a21038c54123cd
Author: Robin Appelman <icewind at owncloud.com>
Date: Wed May 20 15:22:53 2015 +0200
fix locking root of a view
---
lib/private/files/view.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 6bf864c..db904e5 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -1618,11 +1618,11 @@ class View {
* @return string[]
*/
private function getParents($path) {
+ $path = trim($path, '/');
if (!$path) {
return [];
}
- $path = trim($path, '/');
$parts = explode('/', $path);
// remove the single file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list