From 209356b8ade1920b50d1d3a1a5e121c6623d167b Mon Sep 17 00:00:00 2001 From: Minteck Date: Fri, 11 Nov 2022 23:47:49 +0100 Subject: Update --- pages/edit.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/edit.inc') diff --git a/pages/edit.inc b/pages/edit.inc index 8be6730..4333044 100644 --- a/pages/edit.inc +++ b/pages/edit.inc @@ -21,7 +21,7 @@ $parts = explode("/", $_GET['_']); array_shift($parts); array_shift($parts); $system = $parts[0]; -$member = ($parts[1] ?? null) === "" ? null : $parts[1]; +$member = !isset($parts[1]) || $parts[1] === "" ? null : $parts[1]; if ($system !== "cloudburst" && $system !== "raindrops") header("Location: /?error=Invalid system name: " . $system) and die(); $systemCommonName = $system === "cloudburst" ? "Cloudburst System" : "Raindrops System"; -- cgit