summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-06 09:34:23 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-06 09:34:23 +0100
commit8f5420b5c59cb50dfb4834a3ab9a5bee5faadb1c (patch)
tree86d4db2e675dd5bff222dc9a47893c85d59ed87e /system/core
parentcb663676e63c7a4c792181dabea3fd834514cea2 (diff)
Make CI_Input::set_cookie() and cookie helpers set_cookie(), get_cookie(), delete_cookie()'s first (name) parameter mandatory
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 384e30d43..ded462190 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -361,7 +361,7 @@ class CI_Input {
* @param bool $httponly Whether to only makes the cookie accessible via HTTP (no javascript)
* @return void
*/
- public function set_cookie($name = '', $value = '', $expire = '', $domain = '', $path = '/', $prefix = '', $secure = FALSE, $httponly = FALSE)
+ public function set_cookie($name, $value = '', $expire = '', $domain = '', $path = '/', $prefix = '', $secure = FALSE, $httponly = FALSE)
{
if (is_array($name))
{