fixed bug (#3321) where the uri_string was not being set properly when retrieved from $_GET (segment based GET, not ?c=controller)
diff --git a/system/libraries/URI.php b/system/libraries/URI.php
index 1349ebe..6c8eb2e 100644
--- a/system/libraries/URI.php
+++ b/system/libraries/URI.php
@@ -67,11 +67,7 @@
 			// can be unreliable in some environments

 			if (is_array($_GET) AND count($_GET) == 1)

 			{

-				// Note: Due to a bug in current() that affects some versions

-				// of PHP we can not pass function call directly into it

-				$key = array_keys($_GET);

-				$index = current($key);

-				$this->uri_string = $_GET[$index];				

+				$this->uri_string = key($_GET);			

 				return;

 			}