mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 10:52:14 +09:00
Guard more count() calls in common framework classes
This commit is contained in:
parent
3dbc600aa9
commit
e3a2c1a6aa
3 changed files with 3 additions and 3 deletions
|
|
@ -240,7 +240,7 @@ class Session
|
|||
}
|
||||
|
||||
// Start the session if it contains data.
|
||||
if ($force || (count($_SESSION) && !headers_sent()))
|
||||
if ($force || (@count($_SESSION) && !headers_sent()))
|
||||
{
|
||||
// Copy session data to a temporary array.
|
||||
$temp = $_SESSION;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue