aboutsummaryrefslogtreecommitdiff
path: root/p/f.php
diff options
context:
space:
mode:
Diffstat (limited to 'p/f.php')
-rw-r--r--p/f.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/f.php b/p/f.php
index 7ba4bf11e..69dc418c9 100644
--- a/p/f.php
+++ b/p/f.php
@@ -14,7 +14,7 @@ function show_default_favicon(int $cacheSeconds = 3600): void {
}
}
-$id = isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : '0';
+$id = $_SERVER['QUERY_STRING'] ?? '0';
if (!ctype_xdigit($id)) {
$id = '0';
}