Diff of /moodle/lib/weblib.php
Parent Directory
|
Revision Log
|
Patch
|
By samhemelryk:
navigation MDL-20395 Fixed regression created earlier
|
| 503 |
*/ |
*/ |
| 504 |
public function compare(moodle_url $url, $matchtype = URL_MATCH_EXACT) { |
public function compare(moodle_url $url, $matchtype = URL_MATCH_EXACT) { |
| 505 |
|
|
|
// Set path to / if it is not set |
|
|
if ($this->path == '') { |
|
|
$this->path = '/'; |
|
|
} |
|
|
if ($url->path == '') { |
|
|
$url->path = '/'; |
|
|
} |
|
|
|
|
| 506 |
$baseself = $this->out(true); |
$baseself = $this->out(true); |
| 507 |
$baseother = $url->out(true); |
$baseother = $url->out(true); |
| 508 |
|
|
|
|
Legend:
| Removed from v.1.1342 |
|
| changed lines |
| |
Added in v.1.1343 |
|
|