summaryrefslogtreecommitdiff
path: root/modules/upload/upload.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upload/upload.module')
-rw-r--r--modules/upload/upload.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index f7c6be556..78c1c47b9 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -54,10 +54,10 @@ function upload_link($type, $node = 0, $main = 0) {
}
if ($num_files) {
$links['upload_attachments'] = array(
- '#title' => format_plural($num_files, '1 attachment', '%count attachments'),
- '#href' => "node/$node->nid",
- '#attributes' => array('title' => t('Read full article to view attachments.')),
- '#fragment' => 'attachments'
+ 'title' => format_plural($num_files, '1 attachment', '%count attachments'),
+ 'href' => "node/$node->nid",
+ 'attributes' => array('title' => t('Read full article to view attachments.')),
+ 'fragment' => 'attachments'
);
}
}