Commit 165a300c by HanSon

修复bug

1 parent 0291bbaf
......@@ -66,7 +66,9 @@ class ContactFactory
}
}
myself()->alias = isset(contact()->get(myself()->username)['Alias']) ? contact()->get(myself()->username)['Alias'] : myself()->nickname ? : myself()->username;
$contact = contact()->get(myself()->username);
myself()->alias = isset($contact['Alias']) ? $contact['Alias'] : myself()->nickname ? : myself()->username;
}
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!