Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e0fa1
)
"MDL-13766, don't use hard-coded filename"
author
Dongsheng Cai
<unoter@gmail.com>
Wed, 9 Jun 2010 06:44:31 +0000
(06:44 +0000)
committer
Dongsheng Cai
<unoter@gmail.com>
Wed, 9 Jun 2010 06:44:31 +0000
(06:44 +0000)
repository/filepicker.php
patch
|
blob
|
blame
|
history
diff --git
a/repository/filepicker.php
b/repository/filepicker.php
index
5a203aa
..
70a2a25
100755
(executable)
--- a/
repository/filepicker.php
+++ b/
repository/filepicker.php
@@
-267,7
+267,7
@@
case 'downloaddir':
$filename = trim($draftpath, '/').'.zip';
} else {
$parent_path = '/';
- $filename =
'Files
.zip';
+ $filename =
get_string('files').'
.zip';
}
if ($newfile = $zipper->archive_to_storage(array($file), $user_context->id, 'user_draft', $itemid, $parent_path, $filename, $USER->id)) {