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 7cc264a commit 7c9c634
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 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 @@ -95,7 +95,6 @@ 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 7c9c634

Please sign in to comment.