From: Mikael Nordfeldth Date: Sun, 18 Jan 2015 11:56:17 +0000 (+0100) Subject: Bad variable reference (needed $this->) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=98afab74e2a04896d7a7f5e0196c1f21a80cab8e;p=quix0rs-gnu-social.git Bad variable reference (needed $this->) --- diff --git a/actions/apiaccountupdateprofile.php b/actions/apiaccountupdateprofile.php index 60fed1e3c5..a9842ec5d8 100644 --- a/actions/apiaccountupdateprofile.php +++ b/actions/apiaccountupdateprofile.php @@ -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;