diff options
author | Minteck <contact@minteck.org> | 2022-11-11 23:47:49 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-11-11 23:47:49 +0100 |
commit | 209356b8ade1920b50d1d3a1a5e121c6623d167b (patch) | |
tree | 5301396987d1510f715a0b1c24754873af19e1dc /pages/edit.inc | |
parent | 2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 (diff) | |
download | pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.gz pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.bz2 pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.zip |
Update
Diffstat (limited to 'pages/edit.inc')
-rw-r--r-- | pages/edit.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |