From 0e5d8a48f21c1047ff49ba7ed26c547e70d0c26d Mon Sep 17 00:00:00 2001 From: mercury Date: Sat, 3 Jun 2023 13:25:13 +0400 Subject: [PATCH] fix subnet pagination --- app/bot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/bot.php b/app/bot.php index b37409f..6304f24 100644 --- a/app/bot.php +++ b/app/bot.php @@ -1518,11 +1518,11 @@ DNS-over-HTTPS with IP: $data[] = [ [ 'text' => '<<', - 'callback_data' => "/subnet $page " . ($page - 1 >= 0 ? $page - 1 : $all - 1), + 'callback_data' => "/subnet " . ($page - 1 >= 0 ? $page - 1 : $all - 1), ], [ 'text' => '>>', - 'callback_data' => "/subnet $page " . ($page < $all - 1 ? $page + 1 : 0), + 'callback_data' => "/subnet " . ($page < $all - 1 ? $page + 1 : 0), ] ]; }