aboutsummaryrefslogtreecommitdiff
path: root/session_doctor.php
diff options
context:
space:
mode:
Diffstat (limited to 'session_doctor.php')
-rw-r--r--session_doctor.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/session_doctor.php b/session_doctor.php
index bde431c..6c1d9b2 100644
--- a/session_doctor.php
+++ b/session_doctor.php
@@ -1,7 +1,8 @@
<?php
session_start();
-if(isset($_POST['session']))
+if (isset($_POST['session'])) {
$_SESSION = json_decode($_POST['session']);
+}
$s_json = json_encode($_SESSION);
?>
<html>