]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Notice: Undefined variable: source in actions/apistatusesupdate.php on line 88
authorBrion Vibber <brion@pobox.com>
Wed, 18 Nov 2009 17:29:55 +0000 (09:29 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 18 Nov 2009 17:29:55 +0000 (09:29 -0800)
actions/apistatusesupdate.php

index 7ddf7703bb70364acc8ffaf204e1c3d0698fd563..85a7c8c08409ae7f9acf8f7167eba41270c39e3e 100644 (file)
@@ -85,7 +85,7 @@ class ApiStatusesUpdateAction extends ApiAuthAction
         $this->lat    = $this->trimmed('lat');
         $this->lon    = $this->trimmed('long');
 
-        if (empty($this->source) || in_array($source, self::$reserved_sources)) {
+        if (empty($this->source) || in_array($this->source, self::$reserved_sources)) {
             $this->source = 'api';
         }