Changeset 4541

Show
Ignore:
Timestamp:
06/21/08 20:37:15 (13 months ago)
Author:
jwage
Message:

Fix to section for i18n

Files:
1 modified

Legend:

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

    r2963 r4541  
    394394    public static function convertNameToPath($name) 
    395395    { 
    396         $patterns = array('/\s/', '/[^a-z0-9-]/'); 
    397         $replacements = array('-', ''); 
     396        $patterns = '/\s/'; 
     397        $replacements = '-'; 
    398398             
    399399        return preg_replace($patterns, $replacements, strtolower($name));