We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit c8725619 authored by jurgbohn's avatar jurgbohn

Display modified if set

parent 2da6b89e
......@@ -39,7 +39,7 @@ class UserXML {
$user_node->addChild("location", $user->location);
$user_node->addChild("bio", $user->bio);
$user_node->addChild("profile_created", strftime("%c", $user->created));
if (isset($row['modified']))
if (isset($user->modified)
$user_node->addChild("profile_updated", strftime("%c", $user->modified));
return($xml);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment