Skip to content

Commit

Permalink
we use !== for asXML() to make sure we really match with false
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed May 12, 2016
1 parent 50705dc commit e03ace2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carddav2fb.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit e03ace2

Please sign in to comment.