summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-18 09:29:55 -0800
committerBrion Vibber <brion@pobox.com>2009-11-18 09:29:55 -0800
commit18835403fcea146c15488157435c2d98f25bc093 (patch)
treefa73404a27a475a6d41c012f50ad541712a666f6
parentef542afbe5f6aec04f7c72d71fb613265e794f95 (diff)
Notice: Undefined variable: source in actions/apistatusesupdate.php on line 88
-rw-r--r--actions/apistatusesupdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apistatusesupdate.php b/actions/apistatusesupdate.php
index 7ddf7703b..85a7c8c08 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';
}