MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead
This commit is contained in:
+1
-1
@@ -1073,7 +1073,7 @@ class MoodleQuickForm extends HTML_QuickForm_DHTMLRulesTableless {
|
||||
$this->_formName = $formName;
|
||||
if (is_a($action, 'moodle_url')){
|
||||
$this->_pageparams = html_writer::input_hidden_params($action);
|
||||
$action = $action->out(true);
|
||||
$action = $action->out_omit_querystring();
|
||||
} else {
|
||||
$this->_pageparams = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user