]> git.mjollnir.org Git - moodle.git/commitdiff
Bug #6129 - Incorrect glossary import file size limit; merged from MOODLE_16_STABLE
authorskodak <skodak>
Mon, 17 Jul 2006 13:35:05 +0000 (13:35 +0000)
committerskodak <skodak>
Mon, 17 Jul 2006 13:35:05 +0000 (13:35 +0000)
mod/glossary/import.html

index 8c9204f9e3ef4789b6e05ba807ee11b56ebc55be..fc48aba57ba7d34ae53d7d0bb1fecbcebcc7f41c 100644 (file)
@@ -8,7 +8,7 @@
        upload_print_form_fragment(1,array('file'),null,false,null,0,0);
        helpbutton("filetoimport", get_string("filetoimport", "glossary"), "glossary"); 
        echo '&nbsp;';
-       print_string("maxsize", "", display_size(get_max_upload_file_size())); 
+       print_string("maxsize", "", display_size(get_max_upload_file_size($CFG->maxbytes, $course->maxbytes))); 
     ?>
     </td>
 </tr>