]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiaccountupdateprofile.php
Possible hack for tags from private dents in public profile or wrong scope (both...
[quix0rs-gnu-social.git] / actions / apiaccountupdateprofile.php
index 60fed1e3c58215a6fd1ee98640615b4984d128e4..a9842ec5d8f33d80dba29e353e4597be3150623c 100644 (file)
@@ -111,7 +111,7 @@ class ApiAccountUpdateProfileAction extends ApiAuthAction
         if (!empty($this->location)) {
             $profile->location = $this->location;
 
-            $loc = Location::fromName($location);
+            $loc = Location::fromName($this->location);
 
             if (!empty($loc)) {
                 $profile->lat         = $loc->lat;