Notice: Undefined variable: source in actions/apistatusesupdate.php on line 88

This commit is contained in:
Brion Vibber 2009-11-18 09:29:55 -08:00
parent ef542afbe5
commit 18835403fc

View File

@ -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';
}