summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2012-07-25 17:40:34 +0200
committerMichael Hamann <michael@content-space.de>2012-07-25 17:44:15 +0200
commit0686da461503e8b1161e3aaedbb8a42795e1f095 (patch)
tree485286dc1eb69029826890028fb8d6687248d697 /inc
parent71e14df475a4a212fd2a7b6efa38ef95352401f8 (diff)
downloadrpg-0686da461503e8b1161e3aaedbb8a42795e1f095.tar.gz
rpg-0686da461503e8b1161e3aaedbb8a42795e1f095.tar.bz2
Fix icon alt text for page changes
The alt text is now the page id as it is the media id for media changes, previously it was empty as $filename is undefined in that context.
Diffstat (limited to 'inc')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 0afdb1820..83e1f3643 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -709,7 +709,7 @@ function html_recent($first=0, $show_changes='both'){
$form->addElement(media_printicon($recent['id']));
} else {
$icon = DOKU_BASE.'lib/images/fileicons/file.png';
- $form->addElement('<img src="'.$icon.'" alt="'.$filename.'" class="icon" />');
+ $form->addElement('<img src="'.$icon.'" alt="'.$recent['id'].'" class="icon" />');
}
$form->addElement(form_makeOpenTag('span', array('class' => 'date')));