Skip to content

Commit

Permalink
Merge pull request #3272 from samsonasik/cs-fix-session
Browse files Browse the repository at this point in the history
cs fix in Session class
  • Loading branch information
michalsn authored Jul 11, 2020
2 parents 0ac618c + 7b9b865 commit 5ae1b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Session/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down

0 comments on commit 5ae1b3e

Please sign in to comment.