commit | 5fbffd780bb24c0fb925ffb26a9036f008d9b664 | [log] [tgz] |
---|---|---|
author | Rick Ellis <rick.ellis@ellislab.com> | Wed Jul 25 18:47:11 2007 +0000 |
committer | Rick Ellis <rick.ellis@ellislab.com> | Wed Jul 25 18:47:11 2007 +0000 |
tree | 317bbdbc7c825fb3f93596b21f70abfd4d69024b | |
parent | d8de26ea04a83d5d138e8771c69ae790b4cc6a78 [diff] [blame] |
diff --git a/system/libraries/URI.php b/system/libraries/URI.php index 254a8a6..e3cf9c5 100644 --- a/system/libraries/URI.php +++ b/system/libraries/URI.php
@@ -69,8 +69,9 @@ { // Note: Due to a bug in current() that affects some versions // of PHP we can not pass function call directly into it - $keys = array_keys($_GET); - $this->uri_string = current($keys); + $key = array_keys($_GET); + $index = current($key); + $this->uri_string = $_GET[$index]; return; }