summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-20 08:40:48 +0000
committerctrlaltca@gmail.com <>2011-06-20 08:40:48 +0000
commit35d5a96edaf6795334277a847d479c67cc98e292 (patch)
treee66a432bd544e0380fa1641a78f82b6d0d363874
parent3a1f777845b8549655a6748df29e3350e26d4c05 (diff)
fix for #335 (only for branch/3.1)
-rw-r--r--framework/Web/THttpResponse.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php
index 4d8b2e60..34240e77 100644
--- a/framework/Web/THttpResponse.php
+++ b/framework/Web/THttpResponse.php
@@ -549,8 +549,7 @@ class THttpResponse extends TModule implements ITextWriter
$cookie->getExpire(),
$cookie->getPath(),
$cookie->getDomain(),
- $cookie->getSecure(),
- $cookie->getHttpOnly()
+ $cookie->getSecure()
);
}
else {
@@ -560,8 +559,7 @@ class THttpResponse extends TModule implements ITextWriter
$cookie->getExpire(),
$cookie->getPath(),
$cookie->getDomain(),
- $cookie->getSecure(),
- $cookie->getHttpOnly()
+ $cookie->getSecure()
);
}
}
@@ -579,8 +577,7 @@ class THttpResponse extends TModule implements ITextWriter
0,
$cookie->getPath(),
$cookie->getDomain(),
- $cookie->getSecure(),
- $cookie->getHttpOnly()
+ $cookie->getSecure()
);
}