From a7979dc683844974a035aafd4795ff0c9f33de45 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 6 May 2024 01:15:18 +0700 Subject: [PATCH] Fix. The exact value of first_load --- uniforce/router.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/uniforce/router.php b/uniforce/router.php index 6276e9c..c6de547 100644 --- a/uniforce/router.php +++ b/uniforce/router.php @@ -11,7 +11,11 @@ $first_load = 0; foreach ($_GET as $key => $value) { if ($key == 'first_load') { - $first_load = (int)$value; + if ((int)$value !== 1) { + $first_load = 0; + } else { + $first_load = 1; + } } }