Commit 58649055 authored by Brenda Wallace's avatar Brenda Wallace

Merge commit 'refs/merge-requests/120' of git://gitorious.org/statusnet/mainline into 0.9.x

parents 8c54151d 6e405fac
......@@ -115,11 +115,11 @@ class ApiAccountUpdateProfileAction extends ApiAuthAction
$original = clone($profile);
if (empty($this->name)) {
if (!empty($this->name)) {
$profile->fullname = $this->name;
}
if (empty($this->url)) {
if (!empty($this->url)) {
$profile->homepage = $this->url;
}
......
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