[Pkg-owncloud-commits] [php-sabredav] 20/29: Using the displayname as provided by a sharee.
David Prévot
taffit at moszumanska.debian.org
Fri Jul 8 00:24:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 1532788cd853010f25c474b63e250d5297264c7f
Author: Evert Pot <me at evertpot.com>
Date: Mon Jun 27 21:36:41 2016 -0400
Using the displayname as provided by a sharee.
---
lib/CalDAV/Backend/PDO.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/CalDAV/Backend/PDO.php b/lib/CalDAV/Backend/PDO.php
index b1c013d..6940ff4 100644
--- a/lib/CalDAV/Backend/PDO.php
+++ b/lib/CalDAV/Backend/PDO.php
@@ -1370,8 +1370,8 @@ INSERT INTO ' . $this->calendarInstancesTableName . '
?,
?,
?,
- displayname,
?,
+ COALESCE(?, displayname),
description,
calendarorder,
calendarcolor,
@@ -1425,6 +1425,7 @@ INSERT INTO ' . $this->calendarInstancesTableName . '
$calendarId,
$sharee->principal,
$sharee->access,
+ isset($sharee->properties['{DAV:}displayname']) ? $sharee->properties['{DAV:}displayname'] : null,
\Sabre\DAV\UUIDUtil::getUUID(),
$sharee->href,
isset($sharee->properties['{DAV:}displayname']) ? $sharee->properties['{DAV:}displayname'] : null,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list