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

This commit is contained in:
Brenda Wallace 2010-01-24 15:12:18 +13:00
commit 5864905506

View File

@ -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;
}