fix menu rulesset with empty rules

This commit is contained in:
mercury
2024-10-26 23:12:00 +04:00
parent 1c4fff50d1
commit ca37736cd5
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -3701,7 +3701,8 @@ DNS-over-HTTPS with IP:
{
$text[] = "Menu -> " . $this->i18n('xray') . ' -> ' . $this->i18n('routes') . ' -> rulesset list';
[$data, $text] = $this->listPac('rulessetlist', $page, 'xtlsrulesset', 1);
[$data, $tmp] = $this->listPac('rulessetlist', $page, 'xtlsrulesset', 1);
$text = array_merge($text, $tmp ?: []);
$data[] = [
[
'text' => $this->i18n('back'),