Merge commit 'refs/merge-requests/120' of git://gitorious.org/statusnet/mainline into 0.9.x
This commit is contained in:
commit
5864905506
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user