Skip to content

Commit

Permalink
portfolio MDL-24035 Fixed up context notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Sep 13, 2010
1 parent 258a66d commit 3fad0df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions portfolio/add.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
$callerformats = optional_param('callerformats', null, PARAM_TAGLIST); // comma separated list of formats the specific place exporting content supports

require_login(); // this is selectively called again with $course later when we know for sure which one we're in.
$PAGE->set_context(get_system_context());
$PAGE->set_url('/portfolio/add.php', array('id' => $dataid, 'sesskey' => sesskey()));
$PAGE->set_pagelayout('standard');
$exporter = null;
Expand Down

0 comments on commit 3fad0df

Please sign in to comment.