Skip to content

Commit

Permalink
Update cookie.php
Browse files Browse the repository at this point in the history
  • Loading branch information
klas committed Oct 12, 2015
1 parent 7c9c634 commit 1bbff3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/joomla/input/cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function __construct(array $source = null, array $options = array())
*/
public function set($name, $value, $expire = 0, $path = '', $domain = '', $secure = false, $httpOnly = false)
{

if (is_array($value))
{
foreach ($value as $key => $val)
Expand All @@ -94,7 +94,7 @@ public function set($name, $value, $expire = 0, $path = '', $domain = '', $secur
{
setcookie($name, $value, $expire, $path, $domain, $secure, $httpOnly);
}

$this->data[$name] = $value;
}
}

0 comments on commit 1bbff3b

Please sign in to comment.