summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-06-10 14:17:46 -0400
committerRobin Millette <millette@controlyourself.ca>2009-06-10 14:17:46 -0400
commite120cb1a5300f2e38820aa05ec9ac21073a934e0 (patch)
tree77944971d434cf62a7ce6e18a221037252bf56b1 /lib/noticelist.php
parent207750e75774c823328889cb4102aad6a0b12281 (diff)
Uploaded content now displays in overlay (and removed var_dump crap)
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');
}