summaryrefslogtreecommitdiff
path: root/pages/page.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/page.php')
-rw-r--r--pages/page.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/page.php b/pages/page.php
index a00a0f1..cab5dcd 100644
--- a/pages/page.php
+++ b/pages/page.php
@@ -27,7 +27,7 @@ if (($parts[0] !== "cloudburst" && $parts[0] !== "raindrops") && (!(count($parts
}
$system = $parts[0];
-$member = ($parts[1] ?? null) === "" ? null : $parts[1];
+$member = (isset($parts[1]) ? $parts[1] : null) === "" ? null : (isset($parts[1]) ? $parts[1] : null);
if ($system !== "cloudburst" && $system !== "raindrops") header("Location: /?error=Invalid system ID") and die();
$systemCommonName = $system === "cloudburst" ? "Cloudburst System" : "Raindrops System";