[Pkg-owncloud-commits] [php-sabredav] 42/64: prevent a double-slash / remove unneeded slash

David Prévot taffit at moszumanska.debian.org
Thu Dec 11 15:13:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag 2.2.0alpha1
in repository php-sabredav.

commit 532a76d38c1044b5bfda764fde14f4ad88771fba
Author: Armin Hackmann <armin at fruux.com>
Date:   Thu Nov 27 19:13:52 2014 +0100

    prevent a double-slash / remove unneeded slash
---
 lib/CalDAV/ICSExportPlugin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/CalDAV/ICSExportPlugin.php b/lib/CalDAV/ICSExportPlugin.php
index d8fb902..296be95 100644
--- a/lib/CalDAV/ICSExportPlugin.php
+++ b/lib/CalDAV/ICSExportPlugin.php
@@ -195,7 +195,7 @@ class ICSExportPlugin extends DAV\ServerPlugin {
             // calendar path.
             $queryResult = array_map(
                 function($item) use ($path) {
-                    return $path . '/' . $item;
+                    return $path . $item;
                 },
                 $queryResult
             );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list