mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
remove unneeded isset($_SESSION) when next check is !empty($_SESSION)
This commit is contained in:
parent
655481298c
commit
3a586671da
@ -145,7 +145,7 @@ class Toolbar
|
||||
$data['vars']['varData'][esc($heading)] = $vardata;
|
||||
}
|
||||
|
||||
if (isset($_SESSION) && ! empty($_SESSION))
|
||||
if (! empty($_SESSION))
|
||||
{
|
||||
foreach ($_SESSION as $key => $value)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user