Merge pull request #1212 from jloguercio/1.11.x

Fix attachment file in announces - Refs #8154
remotes/angel/1.11.x
José Loguercio 9 years ago
commit d9018a9364
  1. 2
      main/inc/lib/AnnouncementManager.php

@ -1279,7 +1279,7 @@ class AnnouncementManager
} else {
$new_file_name = uniqid('');
$new_path = $updir . '/' . $new_file_name;
move_uploaded_file($file['tmp_name'], $new_path);
copy($file['tmp_name'], $new_path);
$params = [
'c_id' => $course_id,

Loading…
Cancel
Save