summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-10 13:52:32 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-10 13:52:32 -0700
commitb4e649fe906a793cd5e62d6390065ea5d41c40db (patch)
treecad629e106bc038ca63d92cd6c30e6cd3bc5b064 /lib/noticelist.php
parent361a52a9c8042c26e72e85c42aff166bd531c85d (diff)
parent4699fa7936be41e05a950b357c6b46949ad7c74d (diff)
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r--lib/noticelist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 9ace341d8..fadc238a4 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -366,7 +366,7 @@ class NoticeListItem extends Widget
}
$uploaded = $this->notice->getUploadedAttachment();
if ($uploaded) {
- $this->out->element('a', array('href' => $uploaded, 'class' => 'attachment'), $uploaded);
+ $this->out->element('a', array('href' => $uploaded[0], 'class' => 'attachment', 'id' => 'attachment-' . $uploaded[1]), $uploaded[0]);
}
$this->out->elementEnd('p');
}