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:
@@ -1072,7 +1072,7 @@ class core_renderer extends renderer_base {
|
||||
$output = html_writer::tag('div', array(), $output);
|
||||
|
||||
// now the form itself around it
|
||||
$url = $button->url->out(true); // url without params
|
||||
$url = $button->url->out_omit_querystring(); // url without params
|
||||
if ($url === '') {
|
||||
$url = '#'; // there has to be always some action
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user