MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions

This commit is contained in:
Petr Skoda
2010-01-16 15:39:56 +00:00
parent 5192a212f8
commit a685593466
424 changed files with 955 additions and 906 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
require_once("../config.php");
require_once("editlib.php");
$url = new moodle_url($CFG->wwwroot.'/question/edit.php');
$url = new moodle_url('/question/edit.php');
if (($lastchanged = optional_param('lastchanged', 0, PARAM_INT)) !== 0) {
$url->param('lastchanged', $lastchanged);
}