]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/file.php
updating prepare and handle
[quix0rs-gnu-social.git] / actions / file.php
index 49ed8af1d6eff55f89ef6ef77dcb33952dd2a5a2..018f03f53a4b30e29896c6095125114c6fe899c1 100644 (file)
@@ -35,7 +35,7 @@ class FileAction extends Action
             // TRANS: Client error displayed when no notice ID was given trying do display a file.
             $this->clientError(_('No notice ID.'));
         }
-        $notice = Notice::staticGet('id', $this->id);
+        $notice = Notice::getKV('id', $this->id);
         if (empty($notice)) {
             // TRANS: Client error displayed when an invalid notice ID was given trying do display a file.
             $this->clientError(_('No notice.'));