]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge commit 'refs/merge-requests/120' of git://gitorious.org/statusnet/mainline...
authorBrenda Wallace <shiny@cpan.org>
Sun, 24 Jan 2010 02:12:18 +0000 (15:12 +1300)
committerBrenda Wallace <shiny@cpan.org>
Sun, 24 Jan 2010 02:12:18 +0000 (15:12 +1300)
actions/apiaccountupdateprofile.php

index fd4384a25c465093f042cdeee6c4650ede04b245..9b371ea95764e1f829e7c9bce1eba8cffcb3859a 100644 (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;
         }