Changeset 2913

Show
Ignore:
Timestamp:
06/25/2008 03:44:12 PM (5 months ago)
Author:
Shadowhand
Message:

More bugs with inflector.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/helpers/inflector.php

    r2912 r2913  
    6262 
    6363                // Cache key name 
    64                 $key = $str.$count; 
     64                $key = 'singular_'.$str.$count; 
    6565 
    6666                if (isset(self::$cache[$key])) 
     
    118118 
    119119                // Cache key name 
    120                 $key = $str.$count; 
     120                $key = 'plural_'.$str.$count; 
    121121 
    122122                if (isset(self::$cache[$key]))