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)) {
|
if (!empty($this->location)) {
|
||||||
$profile->location = $this->location;
|
$profile->location = $this->location;
|
||||||
|
|
||||||
$loc = Location::fromName($location);
|
$loc = Location::fromName($this->location);
|
||||||
|
|
||||||
if (!empty($loc)) {
|
if (!empty($loc)) {
|
||||||
$profile->lat = $loc->lat;
|
$profile->lat = $loc->lat;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user