From 4ad42c6c911dfb00eb72496effc24dfddc8cb10a Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <himself@claus-justus-heine.de>
Date: Tue, 15 Feb 2022 18:37:16 +0100
Subject: [PATCH] Update Http.php

---
 src/Helper/Http.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Helper/Http.php b/src/Helper/Http.php
index fa03d5af..3c65ffa7 100644
--- a/src/Helper/Http.php
+++ b/src/Helper/Http.php
@@ -183,7 +183,7 @@ class Http
                         foreach ($cookie as $pos => $val) {
                             $val = explode('=', $val, 2);
                             $tag = trim($val[0]);
-                            $val = isset($val[1] ? trim($val[1]) : '';
+                            $val = isset($val[1]) ? trim($val[1]) : '';
                             /// @todo with version 1 cookies, we should strip leading and trailing " chars
                             if ($pos == 0) {
                                 $cookiename = $tag;
-- 
2.47.0