diff options
author | Brenda Wallace <shiny@cpan.org> | 2010-01-24 15:12:18 +1300 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2010-01-24 15:12:18 +1300 |
commit | 58649055064361eb2d4cab1aa39cc4cf56a92dd8 (patch) | |
tree | e58dc982075aedd55c251acc8023db9653d2f997 /actions | |
parent | 8c54151dbd2dbf99b23124ec618b2fa5570ac2ee (diff) | |
parent | 6e405facca5f5b2df4171059796b8eb1aad7e635 (diff) |
Merge commit 'refs/merge-requests/120' of git://gitorious.org/statusnet/mainline into 0.9.x
Diffstat (limited to 'actions')
-rw-r--r-- | actions/apiaccountupdateprofile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apiaccountupdateprofile.php b/actions/apiaccountupdateprofile.php index fd4384a25..9b371ea95 100644 --- a/actions/apiaccountupdateprofile.php +++ b/actions/apiaccountupdateprofile.php @@ -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; } |