diff options
| author | Kyle Javier (kj-sh604) | 2022-11-11 14:54:14 -0500 |
|---|---|---|
| committer | GitHub | 2022-11-11 14:54:14 -0500 |
| commit | 08f5963596b260cb503e2b3454b923947946ba7c (patch) | |
| tree | 2ae33e8e9d456688dc8f4155fb2ea6f722b8c129 | |
| parent | 0972f9698641478da23274a809deb896e722d43b (diff) | |
| parent | a12f4ce5044b44418446f49395711a9ba738a074 (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.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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'])) { |
