summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-03 09:41:36 -0800
committerZach Copley <zach@status.net>2009-11-03 09:41:36 -0800
commit1e6aff69d69e09495638b60831c0548aae0b9773 (patch)
treef38d5d8c6cb296d1ff33e2ba9a9903e55046d46b /actions
parentb9d40f723bce8e01ddcbbb989bd7035b92cd9af8 (diff)
Fix reference to sources class variable
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 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';
}