From e120cb1a5300f2e38820aa05ec9ac21073a934e0 Mon Sep 17 00:00:00 2001 From: Robin Millette Date: Wed, 10 Jun 2009 14:17:46 -0400 Subject: Uploaded content now displays in overlay (and removed var_dump crap) --- lib/noticelist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/noticelist.php') 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'); } -- cgit v1.2.3-54-g00ecf