From 605fd88b6e7cf66b765884f74345d8e1cbfc4156 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Sat, 6 Feb 2021 17:35:11 +0100 Subject: [PATCH] Use new line for unsetting variable --- MD_STD_SEC.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MD_STD_SEC.php b/MD_STD_SEC.php index 3c2c916..0c3afee 100644 --- a/MD_STD_SEC.php +++ b/MD_STD_SEC.php @@ -38,7 +38,8 @@ final class MD_STD_SEC { ) { $validity = true; } - $_SESSION['csrf-token'] = null; unset($_SESSION['csrf-token']); + $_SESSION['csrf-token'] = null; + unset($_SESSION['csrf-token']); return $validity;