]> git.mxchange.org Git - friendica.git/commitdiff
added curly braces
authorRoland Häder <roland@mxchange.org>
Wed, 19 Apr 2017 21:07:59 +0000 (23:07 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 19 Apr 2017 21:07:59 +0000 (23:07 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
include/dfrn.php

index 09688586a3599fe19214c01f88ae0564a0d52321..7221d52a203d981c683dc0de3947510a7fdc75f3 100644 (file)
@@ -554,8 +554,9 @@ class dfrn {
                        xml::add_element($doc, $author, "poco:displayName", $profile["name"]);
                        xml::add_element($doc, $author, "poco:updated", $namdate);
 
-                       if (trim($profile["dob"]) > '0001-01-01')
+                       if (trim($profile["dob"]) > '0001-01-01') {
                                xml::add_element($doc, $author, "poco:birthday", "0000-".date("m-d", strtotime($profile["dob"])));
+                       }
 
                        xml::add_element($doc, $author, "poco:note", $profile["about"]);
                        xml::add_element($doc, $author, "poco:preferredUsername", $profile["nickname"]);