diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-06-03 18:38:36 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-06-03 18:38:36 +0200 |
commit | 855be84b84ab1c0f8dc5b8168de92c59f63f2c89 (patch) | |
tree | e13b707005a709b0110e54b4b959d49ea1305056 | |
parent | 80788871bb980cfc9b2c6f4744ebf2fdc39b2b5b (diff) | |
download | rpg-855be84b84ab1c0f8dc5b8168de92c59f63f2c89.tar.gz rpg-855be84b84ab1c0f8dc5b8168de92c59f63f2c89.tar.bz2 |
fixed limit typo in explode call
Ignore-this: fbd08a31ded98f7517ca679047845f6
darcs-hash:20090603163836-7ad00-aefb0a144874d2299cae47825eb72ab6413b4875.gz
-rw-r--r-- | inc/HTTPClient.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php index 06a69fd55..3d1ef3705 100644 --- a/inc/HTTPClient.php +++ b/inc/HTTPClient.php @@ -292,7 +292,7 @@ class HTTPClient { if(isset($this->resp_headers['set-cookie'])){ foreach ((array) $this->resp_headers['set-cookie'] as $cookie){ list($cookie) = explode(';',$cookie,2); - list($key,$val) = explode('=',$cookie,3); + list($key,$val) = explode('=',$cookie,2); $key = trim($key); if($val == 'deleted'){ if(isset($this->cookies[$key])){ |