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 1efcb97e5..1bf358a3d 100644
--- a/p/f.php
+++ b/p/f.php
@@ -15,7 +15,7 @@ function show_default_favicon(int $cacheSeconds = 3600): void {
}
$id = $_SERVER['QUERY_STRING'] ?? '0';
-if (!ctype_xdigit($id)) {
+if (!is_string($id) || !ctype_xdigit($id)) {
$id = '0';
}