mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Fixes #823 - Banlist expires set to "Never" was immediately expiring.
This commit is contained in:
@@ -486,7 +486,8 @@ class banlist_form_ui extends e_admin_form_ui
|
|||||||
|
|
||||||
if ($i == 0)
|
if ($i == 0)
|
||||||
{
|
{
|
||||||
$words = LAN_NEVER;
|
$opts[$i] = LAN_NEVER;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
elseif (($i % 24) == 0 && $i !== 24)
|
elseif (($i % 24) == 0 && $i !== 24)
|
||||||
{
|
{
|
||||||
@@ -501,7 +502,7 @@ class banlist_form_ui extends e_admin_form_ui
|
|||||||
|
|
||||||
$opts[$calc] = $words;
|
$opts[$calc] = $words;
|
||||||
}
|
}
|
||||||
|
// print_a($opts);
|
||||||
return $opts;
|
return $opts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user