diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 891b7e91e4..67032a061e 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -305,7 +305,7 @@ while ($row = $db->sql_fetchrow($result))
 			$location_url = append_sid('index');
 		break;
 
-		case 'download':
+		case 'download/file':
 			$location = $user->lang['DOWNLOADING_FILE'];
 			$location_url = append_sid('index');
 		break;