[Pkg-owncloud-commits] [php-sabre-vobject] 35/43: Fix for #173

David Prévot taffit at moszumanska.debian.org
Sat Jan 10 14:20:17 UTC 2015


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

taffit pushed a commit to branch master
in repository php-sabre-vobject.

commit 361a2da5f589219ab379eb7b151906f014c2f598
Author: Evert Pot <me at evertpot.com>
Date:   Fri Jan 9 19:45:57 2015 -0500

    Fix for #173
---
 lib/VCardConverter.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/VCardConverter.php b/lib/VCardConverter.php
index 6af04cd..1bf3c5b 100644
--- a/lib/VCardConverter.php
+++ b/lib/VCardConverter.php
@@ -208,7 +208,7 @@ class VCardConverter {
                     $label = $input->{$property->group . '.X-ABLABEL'};
 
                     // We only support converting anniversaries.
-                    if ($label->getValue()!=='_$!<Anniversary>!$_') {
+                    if (!$label || $label->getValue()!=='_$!<Anniversary>!$_') {
                         break;
                     }
 

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



More information about the Pkg-owncloud-commits mailing list