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:
fdfb9cb
)
"MDL-23690, fixed set_context error, credits to Penny"
author
Dongsheng Cai
<unoter@gmail.com>
Fri, 6 Aug 2010 09:38:36 +0000
(09:38 +0000)
committer
Dongsheng Cai
<unoter@gmail.com>
Fri, 6 Aug 2010 09:38:36 +0000
(09:38 +0000)
portfolio/download/file.php
patch
|
blob
|
blame
|
history
diff --git
a/portfolio/download/file.php
b/portfolio/download/file.php
index
36eb020
..
2a82df3
100644
(file)
--- a/
portfolio/download/file.php
+++ b/
portfolio/download/file.php
@@
-16,10
+16,10
@@
require_once($CFG->libdir.'/portfolio/exporter.php');
$PAGE->requires->yui2_lib('dom');
$id = required_param('id', PARAM_INT);
-require_login();
$PAGE->set_url('/portfolio/download/file.php', array('id' => $id));
$exporter = portfolio_exporter::rewaken_object($id);
+portfolio_export_pagesetup($PAGE, $exporter->get('caller'));
$exporter->verify_rewaken();
$exporter->print_header(get_string('downloading', 'portfolio_download'), false);