Skip to content

Commit

Permalink
Merge pull request #2176 from jheyneman/patch-1
Browse files Browse the repository at this point in the history
Fix saving cookies
  • Loading branch information
Novik authored May 11, 2021
2 parents 09bf4e9 + 69acadd commit a9ccfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/cookies/cookies.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function set()
if(strlen($value))
{
$tmp = explode("|",$value);
if(count($tmp>1) && (trim($tmp[1])!=''))
if((count($tmp)>1) && (trim($tmp[1])!=''))
{
$cookies = array();
$tmp1 = explode(";",$tmp[1]);
Expand Down

0 comments on commit a9ccfa3

Please sign in to comment.