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:
Petr Skoda
2010-01-17 09:37:30 +00:00
parent 340d461269
commit eb7880654f
21 changed files with 68 additions and 58 deletions
+1 -1
View File
@@ -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
}