MDL-29867 fix invalid file author
authorPetr Skoda <commits@skodak.org>
Sat, 22 Oct 2011 18:18:11 +0000 (20:18 +0200)
committerPetr Skoda <commits@skodak.org>
Sat, 22 Oct 2011 18:18:11 +0000 (20:18 +0200)
lib/filestorage/stored_file.php

index 835fc76..212179c 100644 (file)
@@ -452,7 +452,7 @@ class stored_file {
      * @return string
      */
     public function get_author() {
-        return $this->file_record->license;
+        return $this->file_record->author;
     }
 
     /**