From f80190dddaa72d9f8863b0b922e557668b6cba27 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 13 May 2023 08:57:09 +0200 Subject: Updated includes/components/explicit.php (automated) --- includes/components/explicit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/components/explicit.php') diff --git a/includes/components/explicit.php b/includes/components/explicit.php index 9b3b159..4c55896 100644 --- a/includes/components/explicit.php +++ b/includes/components/explicit.php @@ -82,7 +82,7 @@ function requestExplicit(ifNotAgreed, allowUnderage) { window.explicitCancelAction = ifNotAgreed; - if (!allowUnderage && (window.age < 15 || !window.age)) { + if (!allowUnderage && window.age !== -1 && (window.age < 15 || !window.age)) { document.getElementById("explicit-modal-confirm").classList.add("disabled"); document.getElementById("explicit-modal-hour").disabled = true; -- cgit