diff options
author | Sarven Capadisli <csarven@status.net> | 2009-11-18 18:00:29 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-11-18 18:00:29 +0000 |
commit | fd283273df9fc46ca9f7d3ce0f7301bd96110513 (patch) | |
tree | 9e9e65525a5440b3f89fd69040126d162fdaf47c /actions | |
parent | c1efb8aa7fc429c6885cb6337e141e32847d34e9 (diff) | |
parent | 18835403fcea146c15488157435c2d98f25bc093 (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.php | 2 |
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'; } |