Browse code

Avoid PHP error if dispatch is called without go variable

Hanno authored on13/09/2019 09:34:31
Showing1 changed files
... ...
@@ -22,6 +22,8 @@ require_once("inc/theme.php");
22 22
 
23 23
 set_exception_handler('handle_exception');
24 24
 
25
+if (!isset($_GET['go']))
26
+    die("No command");
25 27
 $go = $_GET['go'];
26 28
 
27 29
 /*