From 9739758c42f36f93683a4b666b9818812b5fdfbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20H=C3=A4der?= Date: Wed, 19 Apr 2017 23:07:59 +0200 Subject: [PATCH] added curly braces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- include/dfrn.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dfrn.php b/include/dfrn.php index 09688586a3..7221d52a20 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -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"]);