Minor - Added cidreq on links to view announcements in announcement view - loosely refs BT#8190

1.9.x
Yannick Warnier 11 years ago
parent 3041ce9864
commit cee792948d
  1. 2
      main/announcements/announcements.inc.php

@ -254,7 +254,7 @@ class AnnouncementManager
echo "<tr><td>";
$realname = $attachment_list['path'];
$user_filename = $attachment_list['filename'];
$full_file_name = 'download.php?file=' . $realname;
$full_file_name = 'download.php?'.api_get_cidreq().'&file=' . $realname;
echo '<br/>';
echo Display::return_icon('attachment.gif', get_lang('Attachment'));
echo '<a href="' . $full_file_name . ' "> ' . $user_filename . ' </a>';

Loading…
Cancel
Save