diff options
author | Ignasimg <ignasimg@gmail.com> | 2015-02-26 18:02:45 +0100 |
---|---|---|
committer | Ignasimg <ignasimg@gmail.com> | 2015-02-26 18:02:45 +0100 |
commit | 1e35792cc2d231cba11c2faefd71717ab67a46d2 (patch) | |
tree | 5323c3703b4e8dba652fd1f1f23177c0ee01527d | |
parent | 54b42d6c00f25152b6502be4cf64f2fe342b5fb7 (diff) |
Update Input.php
-rw-r--r-- | system/core/Input.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/core/Input.php b/system/core/Input.php index 14f3e1083..a72c4ac1e 100644 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -305,8 +305,8 @@ class CI_Input { * * Useful when you need to access PUT, DELETE or PATCH request data. * - * @param string $index Index for item to be fetched - * @param bool $xss_clean Whether to apply XSS filtering + * @param string $index Index for item to be fetched + * @param bool $xss_clean Whether to apply XSS filtering * @return mixed */ public function input_stream($index = NULL, $xss_clean = NULL) @@ -319,7 +319,7 @@ class CI_Input { parse_str($this->raw_input_stream, $this->_input_stream); is_array($this->_input_stream) OR $this->_input_stream = array(); } - + return $this->_fetch_from_array($this->_input_stream, $index, $xss_clean); } |