]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/shownotice.php
$notices and $notice is not the same, silly!
[quix0rs-gnu-social.git] / actions / shownotice.php
index 2576bcc111fc65b394f48f2acd74b8f763803087..4a1adfd7de938aac1061cb6d93c93e01363c736b 100644 (file)
@@ -70,7 +70,7 @@ class ShownoticeAction extends ManagedAction
     {
         parent::prepare($args);
         if ($this->boolean('ajax')) {
-            StatusNet::setApi(true);
+            GNUsocial::setApi(true);
         }
 
         $this->notice = $this->getNotice();