From 76f86d1b59deec08104bc95b31452aaa4e080284 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 25 Apr 2017 00:09:53 -0600 Subject: [PATCH] Update php.php --- resources/php.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/php.php b/resources/php.php index 210dac4882..2bc760b6d9 100644 --- a/resources/php.php +++ b/resources/php.php @@ -33,7 +33,7 @@ } } //regenerate sessions to avoid session id attacks such as session fixation - if (array_key_exists('security',$_SESSION) and $_SESSION['security']['session_rotate']['boolean'] == "true") { + if (array_key_exists('security',$_SESSION) && $_SESSION['security']['session_rotate']['boolean'] == "true") { $_SESSION['session']['last_activity'] = time(); if (!isset($_SESSION['session']['created'])) { $_SESSION['session']['created'] = time();