diff --git a/app/bot.php b/app/bot.php index d4ddab2..3f76d2f 100644 --- a/app/bot.php +++ b/app/bot.php @@ -3747,7 +3747,7 @@ DNS-over-HTTPS with IP: 'web_app' => ['url' => "https://$domain/pac?h=$hash&t=te&ty=$type"], ], [ - 'text' => $this->i18n($pac["default{$type}template"] && !empty($pac["{$type}templates"][$pac["default{$type}template"]]) ? 'off' : 'on'), + 'text' => $this->i18n($pac["default{$type}template"] && !empty($pac["{$type}templates"][base64_decode($pac["default{$type}template"])]) ? 'off' : 'on'), 'callback_data' => "/defaultTemplate $type", ], ];