summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/attachment_thumbnail.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/actions/attachment_thumbnail.php b/actions/attachment_thumbnail.php
index 32fab1324..b4070e747 100644
--- a/actions/attachment_thumbnail.php
+++ b/actions/attachment_thumbnail.php
@@ -71,16 +71,7 @@ class Attachment_thumbnailAction extends AttachmentAction
if (empty($file_thumbnail->url)) {
return;
}
- $url = $file_thumbnail->url;
-
- $attr = array(
- 'id' => 'thumbnail'
- , 'src' => $url
- , 'alt' => 'Thumbnail'
- );
-
- $this->element('img', $attr);
-
+ $this->element('img', array('src' => $file_thumbnail->url, 'alt' => 'Thumbnail'));
}
/**