aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorCharles Reyes2022-11-11 18:53:38 +0800
committerCharles Reyes2022-11-11 18:53:38 +0800
commita12f4ce5044b44418446f49395711a9ba738a074 (patch)
tree2ae33e8e9d456688dc8f4155fb2ea6f722b8c129 /index.php
parent0972f9698641478da23274a809deb896e722d43b (diff)
Fix error undefined array key for first time users
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.php b/index.php
index 0f7e8c1..3e0f6cb 100644
--- a/index.php
+++ b/index.php
@@ -26,7 +26,10 @@
<h3 class="centered">🏃 great for procratinators who need to get a presentation out, quick! 👟</h3>
<h3 class="centered">🏫 try copy and pasting your school notes! that might even work 😂</h3>
<hr>
- <?php include "includes/nav-header.php" ?>
+ <?php
+ include "includes/nav-header.php";
+ $_SESSION['user-input'] = null;
+ ?>
<?php if(isset($_POST['compile']))
{