Fix attachment file in announces - Refs #8154

remotes/angel/1.11.x
José Loguercio 9 years ago
parent 599bc75755
commit 308ab6fff5
  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