summaryrefslogtreecommitdiff
path: root/actions/apistatusesupdate.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-11-18 17:04:42 -0500
committerCraig Andrews <candrews@integralblue.com>2009-11-18 17:04:42 -0500
commitcac5a417f2a81b974781d4dbc40fd9d718a7a7f2 (patch)
treeac4798b1acd4abbe1674af08af99460374bda537 /actions/apistatusesupdate.php
parenta00141a180d54cbcc244e0157c72f53ac53779b3 (diff)
parent199ccdb53fbd732eeced3edf734e39687729da9b (diff)
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/apistatusesupdate.php')
-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';
}