mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
toolbar cannot be initialized correctly.
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");
This commit is contained in:
parent
6043c3afcd
commit
936fa81768
@ -237,7 +237,7 @@
|
||||
<?php foreach ($cookies as $name => $value) : ?>
|
||||
<tr>
|
||||
<td><?= $name ?></td>
|
||||
<td><?= $value ?></td>
|
||||
<td><?= is_array($value) ? var_dump($value) : $value ?></td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
</tbody>
|
||||
|
Loading…
x
Reference in New Issue
Block a user