mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Various bug fixes described on the forum
https://torrentpier.com/forum/threads/zapreschennye-imena.41785/
This commit is contained in:
parent
9fbe5d6e82
commit
8508122da9
@ -19,7 +19,7 @@ if (isset($_POST['add_name']))
|
|||||||
{
|
{
|
||||||
bb_die($lang['FIELDS_EMPTY']);
|
bb_die($lang['FIELDS_EMPTY']);
|
||||||
}
|
}
|
||||||
if( !validate_username($disallowed_user) )
|
if( validate_username($disallowed_user) )
|
||||||
{
|
{
|
||||||
$message = $lang['DISALLOWED_ALREADY'];
|
$message = $lang['DISALLOWED_ALREADY'];
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@ function tz_select ($default, $select_name = 'timezone')
|
|||||||
|
|
||||||
if (!isset($default))
|
if (!isset($default))
|
||||||
{
|
{
|
||||||
$default == $sys_timezone;
|
$default = $sys_timezone;
|
||||||
}
|
}
|
||||||
$tz_select = '<select name="' . $select_name . '">';
|
$tz_select = '<select name="' . $select_name . '">';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user