Changeset 3391

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

Follow up to r3366, matched route keys should not override defaults if they are empty.

Files:
1 modified

Legend:

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

    r3384 r3391  
    8484                                                } 
    8585 
    86                                                 if (isset($matches[$i])) 
     86                                                if (isset($matches[$i]) AND $matches[$i] !== '') 
    8787                                                { 
    8888                                                        // Set the route value from the URI