Skip to content

Commit

Permalink
Fix. The exact value of first_load
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonV1211 committed May 5, 2024
1 parent 831e947 commit a7979dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion uniforce/router.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

Expand Down

0 comments on commit a7979dc

Please sign in to comment.