[moodle] / moodle / lib / weblib.php Repository:

Diff of /moodle/lib/weblib.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1342, Thu Oct 1 10:31:42 2009 WST revision 1.1343, Thu Oct 1 12:16:22 2009 WST

By samhemelryk:

navigation MDL-20395 Fixed regression created earlier

# Line 503  Line 503 
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

Moodle CVS Admin
ViewVC Help
Powered by ViewVC 1.0.7