Notice: Undefined variable: source in actions/apistatusesupdate.php on line 88
This commit is contained in:
parent
ef542afbe5
commit
18835403fc
|
@ -85,7 +85,7 @@ class ApiStatusesUpdateAction extends ApiAuthAction
|
|||
$this->lat = $this->trimmed('lat');
|
||||
$this->lon = $this->trimmed('long');
|
||||
|
||||
if (empty($this->source) || in_array($source, self::$reserved_sources)) {
|
||||
if (empty($this->source) || in_array($this->source, self::$reserved_sources)) {
|
||||
$this->source = 'api';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user