fix ip menu

This commit is contained in:
mercury
2024-11-16 16:45:36 +04:00
parent be227f6a33
commit 66225917fe
+1 -1
View File
@@ -4545,7 +4545,7 @@ DNS-over-HTTPS with IP:
public function denyList($page = 0, $white = 0)
{
$text = 'Menu -> IP -> ' . ($white ? 'white' : 'deny') . ' list';
$text = 'Menu -> IP -> ' . ($white ? 'ignore' : 'block') . 'list';
$domains = $this->getPacConf()[$white ? 'white' : 'deny'] ?: [];
$all = (int) ceil(count($domains) / $this->limit);
$page = min($page, $all - 1);