summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-06-14 00:23:48 +0000
committerZach Copley <zach@controlyourself.ca>2009-06-14 00:23:48 +0000
commitd0eb2058a519941e205f7b0960d9a5e0707207bb (patch)
tree37ed1aa1be3c3a7a58463964ce602565c79f8cdf /lib/noticelist.php
parenta887d4fe8b1f5e5adc2d701384acf50cf2cf54c3 (diff)
parentdbbb3a4fb558ee4372e157612f3e053a87a53a8e (diff)
Merge branch '0.8.x' into userdesign
Conflicts: actions/showfavorites.php lib/action.php
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 c00942af4..e44997004 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -365,7 +365,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');
}