Skip to content

Commit

Permalink
MDL-25194 settig 'returnurl'
Browse files Browse the repository at this point in the history
  • Loading branch information
ppichet committed Nov 16, 2010
1 parent 341be30 commit f065391
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion question/type/calculated/datasetdefinitions_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ function definition() {

//hidden elements
$mform->addElement('hidden', 'returnurl');
$mform->setType('returnurl', PARAM_URL);
$mform->setType('returnurl', PARAM_LOCALURL);
$mform->setDefault('returnurl', 0);
$mform->addElement('hidden', 'id');
$mform->setType('id', PARAM_INT);

Expand Down

0 comments on commit f065391

Please sign in to comment.