Jimako authored on 2023/09/06 03:57:51
Showing 1 changed files
... ...
@@ -24,8 +24,10 @@
24 24
 
25 25
 $current = "stories";
26 26
 
27
-if($_GET['action'] != "newchapter") $displayform = 1;
28
-if($_GET['action'] == "newstory" || $_GET['action'] == "editstory") $current = "addstory";
27
+if(isset($_GET['action'])) {
28
+	if($_GET['action'] != "newchapter") $displayform = 1;
29
+	if($_GET['action'] == "newstory" || $_GET['action'] == "editstory") $current = "addstory";
30
+}
29 31
 
30 32
 include ("header.php");
31 33