From e03ace293ad0691fcf0e55ccaef9e1a11136ae1a Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Thu, 12 May 2016 15:58:52 +0200 Subject: [PATCH] we use !== for asXML() to make sure we really match with false --- carddav2fb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carddav2fb.php b/carddav2fb.php index 91b50ea7..5b706504 100644 --- a/carddav2fb.php +++ b/carddav2fb.php @@ -630,7 +630,7 @@ public function build_fb_xml() $contact->addChild("mod_time", (string)time()); } - if($root->asXML() != false) + if($root->asXML() !== false) $this->fbxml = $root->asXML(); else {