mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Possible fix for #37
This commit is contained in:
parent
301c10f0be
commit
b038036724
@ -105,8 +105,11 @@ if (isset($_GET['from'])) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PHP's PHP_INT_MAX is platform-dependent... As if int64 isn't a type under 32-bit operating systems
|
||||||
|
//$before = PHP_INT_MAX;
|
||||||
|
$before = "9223372036854775807";
|
||||||
$after = 0;
|
$after = 0;
|
||||||
$before = PHP_INT_MAX;
|
|
||||||
if (isset($_GET['before']) && is_string($_GET['before'])) {
|
if (isset($_GET['before']) && is_string($_GET['before'])) {
|
||||||
if (filter_var($_GET['before'], FILTER_VALIDATE_INT)) {
|
if (filter_var($_GET['before'], FILTER_VALIDATE_INT)) {
|
||||||
$before = (int)$_GET['before'];
|
$before = (int)$_GET['before'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user