diff --git a/inc/html.php b/inc/html.php
index 0afdb18207ac03db3d55149f94020789d67350cb..83e1f36432049211a00f6f183a73c6eb4c4efb0a 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')));