mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
navigation MDL-20395 Fixed regression created earlier
This commit is contained in:
parent
a1b74a5672
commit
1d89818236
@ -503,14 +503,6 @@ class moodle_url {
|
||||
*/
|
||||
public function compare(moodle_url $url, $matchtype = URL_MATCH_EXACT) {
|
||||
|
||||
// Set path to / if it is not set
|
||||
if ($this->path == '') {
|
||||
$this->path = '/';
|
||||
}
|
||||
if ($url->path == '') {
|
||||
$url->path = '/';
|
||||
}
|
||||
|
||||
$baseself = $this->out(true);
|
||||
$baseother = $url->out(true);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user