[Pkg-owncloud-commits] [php-sabredav] 17/29: Casting transparent to an int.
David Prévot
taffit at moszumanska.debian.org
Fri Jul 8 00:24:03 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 cc44bf4428ceab6865097a5d43e47261f1600824
Author: Evert Pot <me at evertpot.com>
Date: Mon Jun 27 20:52:13 2016 -0400
Casting transparent to an int.
---
lib/CalDAV/Backend/PDO.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/CalDAV/Backend/PDO.php b/lib/CalDAV/Backend/PDO.php
index 76b69dc..d7743cd 100644
--- a/lib/CalDAV/Backend/PDO.php
+++ b/lib/CalDAV/Backend/PDO.php
@@ -222,7 +222,7 @@ class PDO extends AbstractBackend implements SyncSupport, SubscriptionSupport, S
}
$transp = '{' . CalDAV\Plugin::NS_CALDAV . '}schedule-calendar-transp';
if (isset($properties[$transp])) {
- $values[':transparent'] = $properties[$transp]->getValue() === 'transparent';
+ $values[':transparent'] = $properties[$transp]->getValue() === 'transparent' ? 1 : 0;
}
foreach ($this->propertyMap as $xmlName => $dbName) {
--
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