From: Brion Vibber Date: Wed, 18 Nov 2009 17:29:55 +0000 (-0800) Subject: Notice: Undefined variable: source in actions/apistatusesupdate.php on line 88 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=18835403fcea146c15488157435c2d98f25bc093;p=quix0rs-gnu-social.git Notice: Undefined variable: source in actions/apistatusesupdate.php on line 88 --- diff --git a/actions/apistatusesupdate.php b/actions/apistatusesupdate.php index 7ddf7703bb..85a7c8c084 100644 --- a/actions/apistatusesupdate.php +++ b/actions/apistatusesupdate.php @@ -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'; }