mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update modcp.php
This commit is contained in:
parent
b87739eb6e
commit
5bd41e3f8f
16
modcp.php
16
modcp.php
@ -673,10 +673,10 @@ switch ($mode)
|
||||
bb_die($lang['NO_SUCH_POST']);
|
||||
}
|
||||
|
||||
if (!$ip_this_post = decode_ip($post_row['poster_ip']))
|
||||
{
|
||||
$ip_this_post = $lang['NOT_AVAILABLE'];
|
||||
}
|
||||
if (!$ip_this_post = decode_ip($post_row['poster_ip']))
|
||||
{
|
||||
$ip_this_post = $lang['NOT_AVAILABLE'];
|
||||
}
|
||||
$ip_this_post = ($rdns_ip_num == $ip_this_post) ? gethostbyaddr($ip_this_post) : $ip_this_post;
|
||||
|
||||
$poster_id = $post_row['poster_id'];
|
||||
@ -711,10 +711,10 @@ switch ($mode)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!$ip = decode_ip($row['poster_ip']))
|
||||
{
|
||||
$ip = $lang['NOT_AVAILABLE'];
|
||||
}
|
||||
if (!$ip = decode_ip($row['poster_ip']))
|
||||
{
|
||||
$ip = $lang['NOT_AVAILABLE'];
|
||||
}
|
||||
$ip = ( $rdns_ip_num == $ip || $rdns_ip_num == 'all') ? gethostbyaddr($ip) : $ip;
|
||||
|
||||
$template->assign_block_vars('iprow', array(
|
||||
|
Loading…
Reference in New Issue
Block a user