Commit 2043b336 authored by Dries's avatar Dries

- Fixed braino

parent 754f2ac2
......@@ -333,9 +333,9 @@ function user_search($keys) {
return array(t("Matching users"), $find);
}
function user_user($type, &$edit, &$user) {
function user_user($type, &$edit, &$user) {
if ($type == 'view') {
return array(t('History') => form_item(t('Member for'), format_interval(time() - $account->created)));
return array(t('History') => form_item(t('Member for'), format_interval(time() - $user->created)));
}
}
......
......@@ -333,9 +333,9 @@ function user_search($keys) {
return array(t("Matching users"), $find);
}
function user_user($type, &$edit, &$user) {
function user_user($type, &$edit, &$user) {
if ($type == 'view') {
return array(t('History') => form_item(t('Member for'), format_interval(time() - $account->created)));
return array(t('History') => form_item(t('Member for'), format_interval(time() - $user->created)));
}
}
......
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