MDL-36708 files: Fixed missing key in array
authorFrederic Massart <fred@moodle.com>
Wed, 16 Jan 2013 03:28:14 +0000 (11:28 +0800)
committerFrederic Massart <fred@moodle.com>
Wed, 16 Jan 2013 03:28:14 +0000 (11:28 +0800)
lib/filelib.php

index b539e97..39dd286 100644 (file)
@@ -481,7 +481,7 @@ function file_get_draft_area_info($draftitemid, $filepath = '/') {
         'filecount' => 0,
         'foldercount' => 0,
         'filesize' => 0,
-        'filesize_without_references'
+        'filesize_without_references' => 0
     );
 
     if ($filepath != '/') {