From 936fa81768f859da8519d8883d895d55a69fa5f7 Mon Sep 17 00:00:00 2001 From: bangbangda Date: Sun, 8 Jul 2018 22:42:53 +0800 Subject: [PATCH] toolbar cannot be initialized correctly. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit setcookie() is arrays will cause ‘Array to string conversion’ to be wrong. toolbar cannot be initialized correctly. Example, Home Controller add code: setcookie("cookie[three]", "cookiethree"); setcookie("cookie[two]", "cookietwo"); setcookie("cookie[one]", "cookieone"); --- system/Debug/Toolbar/Views/toolbar.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Debug/Toolbar/Views/toolbar.tpl.php b/system/Debug/Toolbar/Views/toolbar.tpl.php index e1423a752b..44baeab761 100644 --- a/system/Debug/Toolbar/Views/toolbar.tpl.php +++ b/system/Debug/Toolbar/Views/toolbar.tpl.php @@ -237,7 +237,7 @@ $value) : ?> - +