Changeset 3393

Show
Ignore:
Timestamp:
08/29/2008 11:29:51 AM (3 months ago)
Author:
Shadowhand
Message:

Fixing a bug that would prevent routes with no matched values from not being prefixed. Thanks dougal2 @ http://forum.kohanaphp.com/comments.php?DiscussionID=1096&page=2#Item_25

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/classes/router.php

    r3392 r3393  
    7373                        { 
    7474                                // If matches exist and there are keys for the URI, parse them 
    75                                 if (count($matches) > 1 AND $keys = Router::keys($route[0])) 
     75                                if ($keys = Router::keys($route[0])) 
    7676                                { 
    7777                                        // Remove the matched string