aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Javier (kj-sh604)2022-11-11 14:54:14 -0500
committerGitHub2022-11-11 14:54:14 -0500
commit08f5963596b260cb503e2b3454b923947946ba7c (patch)
tree2ae33e8e9d456688dc8f4155fb2ea6f722b8c129
parent0972f9698641478da23274a809deb896e722d43b (diff)
parenta12f4ce5044b44418446f49395711a9ba738a074 (diff)
Merge pull request #1 from kj-sh604/first-time-user-fix (see description)
Fix error "undefined array key" for first time users
-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']))
{