mirror of
https://github.com/friendica/friendica
synced 2024-12-23 18:00:17 +00:00
added curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
b9d8587f41
commit
9739758c42
1 changed files with 2 additions and 1 deletions
|
@ -554,8 +554,9 @@ class dfrn {
|
||||||
xml::add_element($doc, $author, "poco:displayName", $profile["name"]);
|
xml::add_element($doc, $author, "poco:displayName", $profile["name"]);
|
||||||
xml::add_element($doc, $author, "poco:updated", $namdate);
|
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:birthday", "0000-".date("m-d", strtotime($profile["dob"])));
|
||||||
|
}
|
||||||
|
|
||||||
xml::add_element($doc, $author, "poco:note", $profile["about"]);
|
xml::add_element($doc, $author, "poco:note", $profile["about"]);
|
||||||
xml::add_element($doc, $author, "poco:preferredUsername", $profile["nickname"]);
|
xml::add_element($doc, $author, "poco:preferredUsername", $profile["nickname"]);
|
||||||
|
|
Loading…
Reference in a new issue