Просмотр исходного кода

Fix dropbox file author issue - refs #7576

Imanol Losada 10 лет назад
Родитель
Сommit
86179d61d9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      main/dropbox/dropbox_class.inc.php

+ 1 - 1
main/dropbox/dropbox_class.inc.php

@@ -102,7 +102,7 @@ class Dropbox_Work
         $this->filesize = $filesize;
         $this->title = $title;
         $this->description = $description;
-        $this->author = api_get_person_name($_user['firstName'], $_user['lastName']);
+        $this->author = $author;
         $this->last_upload_date = api_get_utc_datetime();
         $course_id = api_get_course_int_id();