]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/attachment.php
Preparing File for dynamic thumbnail generation.
[quix0rs-gnu-social.git] / actions / attachment.php
index b532b81d88438ddbf5a91b3a5e854129137531fb..30499c15f4764b71296d71745cca07101f54d9ec 100644 (file)
@@ -130,14 +130,11 @@ class AttachmentAction extends Action
         parent::handle();
 
         if (empty($this->attachment->filename)) {
-
             // if it's not a local file, gtfo
-
             common_redirect($this->attachment->url, 303);
-
-        } else {
-            $this->showPage();
         }
+
+        $this->showPage();
     }
 
     /**