diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-03-14 11:51:36 +0100 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-03-14 11:51:36 +0100 |
commit | 15a29e11a1003ff253b4df7c8a4c6e97b052a06d (patch) | |
tree | 8297ecf0727c574bd90cb12413f687f8413dce2e /system/core/URI.php | |
parent | 0fe8c8e21315e00dbc06a87290fb268a2dc999a9 (diff) | |
parent | ce707b4cafd64b95031690cf927584b1d60c7ad7 (diff) |
Merged unit test progress.
Diffstat (limited to 'system/core/URI.php')
-rwxr-xr-x | system/core/URI.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/system/core/URI.php b/system/core/URI.php index b5364a30d..48bb7ae3c 100755 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -458,9 +458,7 @@ class CI_URI { return array(); } - return function_exists('array_fill_keys') - ? array_fill_keys($default, FALSE) - : array_combine($default, array_fill(0, count($default), FALSE)); + return array_fill_keys($default, FALSE); } $segments = array_slice($this->$segment_array(), ($n - 1)); |