From: Zach Copley Date: Tue, 3 Nov 2009 17:41:36 +0000 (-0800) Subject: Fix reference to sources class variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1e6aff69d69e09495638b60831c0548aae0b9773;p=quix0rs-gnu-social.git Fix reference to sources class variable --- diff --git a/actions/apistatusesupdate.php b/actions/apistatusesupdate.php index 898a4bd723..b9c0832a4e 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'; }