summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-12-01 12:31:21 -0800
committerBrion Vibber <brion@pobox.com>2009-12-01 12:31:21 -0800
commite28e8cc1d7e3c6683237c86955b7c1da23c02696 (patch)
tree6653c792eecef08a3f881101d58611cf8bfc27cb
parent75914394512c8752017b8516c0d445a8ec33d1f3 (diff)
typo fix: '$this' now spelled correctly. Looks like this'll fix acceptance of 'source' param for direct messages posted to API
@fixme: there's duplication of reserved sources list between at least this and apistatusesupdate module
-rw-r--r--actions/apidirectmessagenew.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apidirectmessagenew.php b/actions/apidirectmessagenew.php
index fed6acc30..e6c39ce4a 100644
--- a/actions/apidirectmessagenew.php
+++ b/actions/apidirectmessagenew.php
@@ -79,7 +79,7 @@ class ApiDirectMessageNewAction extends ApiAuthAction
$this->source = $this->trimmed('source'); // Not supported by Twitter.
$reserved_sources = array('web', 'omb', 'mail', 'xmpp', 'api');
- if (empty($thtis->source) || in_array($this->source, $reserved_sources)) {
+ if (empty($this->source) || in_array($this->source, $reserved_sources)) {
$source = 'api';
}