diff --git a/system/Session/Session.php b/system/Session/Session.php index 8e845462065b..3494b88993f2 100644 --- a/system/Session/Session.php +++ b/system/Session/Session.php @@ -557,7 +557,7 @@ public function has(string $key): bool public function push(string $key, array $data) { if ($this->has($key) && is_array($value = $this->get($key))) - { + { $this->set($key, array_merge($value, $data)); } }