mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle
This commit is contained in:
commit
e135797586
50 changed files with 267 additions and 142 deletions
|
@ -706,7 +706,7 @@ class grade_plugin_return {
|
|||
public function grade_plugin_return($params = null) {
|
||||
if (empty($params)) {
|
||||
$this->type = optional_param('gpr_type', null, PARAM_SAFEDIR);
|
||||
$this->plugin = optional_param('gpr_plugin', null, PARAM_SAFEDIR);
|
||||
$this->plugin = optional_param('gpr_plugin', null, PARAM_PLUGIN);
|
||||
$this->courseid = optional_param('gpr_courseid', null, PARAM_INT);
|
||||
$this->userid = optional_param('gpr_userid', null, PARAM_INT);
|
||||
$this->page = optional_param('gpr_page', null, PARAM_INT);
|
||||
|
@ -838,7 +838,7 @@ class grade_plugin_return {
|
|||
|
||||
if (!empty($this->plugin)) {
|
||||
$mform->addElement('hidden', 'gpr_plugin', $this->plugin);
|
||||
$mform->setType('gpr_plugin', PARAM_SAFEDIR);
|
||||
$mform->setType('gpr_plugin', PARAM_PLUGIN);
|
||||
}
|
||||
|
||||
if (!empty($this->courseid)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue