]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/attachmentlistitem.php
Don't update stored URLs just because we have a filename
[quix0rs-gnu-social.git] / lib / attachmentlistitem.php
index 3a95eb10c3f3c3d92e9b31a934e9ecb96a00bbe6..132b2002edd23a78e4593e2f6a79edfd437234f5 100644 (file)
@@ -87,7 +87,7 @@ class AttachmentListItem extends Widget
 
     function linkAttr() {
         return array('class' => 'attachment',
-                     'href' => $this->attachment->getUrl(),
+                     'href' => $this->attachment->getUrl(false),
                      'id' => 'attachment-' . $this->attachment->id,
                      'title' => $this->linkTitle());
     }