diff options
author | Zach Copley <zach@status.net> | 2009-11-03 09:41:36 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-11-03 09:41:36 -0800 |
commit | 1e6aff69d69e09495638b60831c0548aae0b9773 (patch) | |
tree | f38d5d8c6cb296d1ff33e2ba9a9903e55046d46b /actions/apistatusesupdate.php | |
parent | b9d40f723bce8e01ddcbbb989bd7035b92cd9af8 (diff) |
Fix reference to sources class variable
Diffstat (limited to 'actions/apistatusesupdate.php')
-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 898a4bd72..b9c0832a4 100644 --- a/actions/apistatusesupdate.php +++ b/actions/apistatusesupdate.php @@ -80,7 +80,7 @@ class ApiStatusesUpdateAction extends ApiAuthAction $this->status = $this->trimmed('status'); $this->source = $this->trimmed('source'); - if (empty($this->source) || in_array($source, $this->reserved_sources)) { + if (empty($this->source) || in_array($source, self::$reserved_sources)) { $this->source = 'api'; } |