Bad variable reference (needed $this->)
This commit is contained in:
parent
06c93faa2d
commit
98afab74e2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user