summaryrefslogtreecommitdiff
path: root/pages/page.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-09-21 22:42:33 +0200
committerMinteck <contact@minteck.org>2022-09-21 22:42:33 +0200
commite95b208af90cc386a7d8d1bcab426727cf4f0121 (patch)
treeb293e0c644513fbeb6e9ad29be97fa6347a55e9f /pages/page.php
parentb5f589c323f415bb42ea7069cb4d1a8a2233dd69 (diff)
downloadpluralconnect-e95b208af90cc386a7d8d1bcab426727cf4f0121.tar.gz
pluralconnect-e95b208af90cc386a7d8d1bcab426727cf4f0121.tar.bz2
pluralconnect-e95b208af90cc386a7d8d1bcab426727cf4f0121.zip
Update time
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";