Changeset 4545

Show
Ignore:
Timestamp:
06/22/08 03:46:30 (13 months ago)
Author:
jwage
Message:

Fix.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/vendor/Sensei/Sensei/Doc/Section.php

    r4541 r4545  
    394394    public static function convertNameToPath($name) 
    395395    { 
    396         $patterns = '/\s/'; 
    397         $replacements = '-'; 
    398              
     396        $patterns = array('/\s/', '/\(|\)/'); 
     397        $replacements = array('-', ''); 
     398 
    399399        return preg_replace($patterns, $replacements, strtolower($name));  
    400400    }