summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-18 18:00:29 +0000
committerSarven Capadisli <csarven@status.net>2009-11-18 18:00:29 +0000
commitfd283273df9fc46ca9f7d3ce0f7301bd96110513 (patch)
tree9e9e65525a5440b3f89fd69040126d162fdaf47c /actions
parentc1efb8aa7fc429c6885cb6337e141e32847d34e9 (diff)
parent18835403fcea146c15488157435c2d98f25bc093 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions')
-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';
}