]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix reference to sources class variable
authorZach Copley <zach@status.net>
Tue, 3 Nov 2009 17:41:36 +0000 (09:41 -0800)
committerZach Copley <zach@status.net>
Tue, 3 Nov 2009 17:41:36 +0000 (09:41 -0800)
actions/apistatusesupdate.php

index 898a4bd723cef157ad3e768096ac5c1134db62ce..b9c0832a4ed322d3358e516baaf9c2659ea992b1 100644 (file)
@@ -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';
         }