fix tlgrm handle

This commit is contained in:
mercury
2024-12-20 03:25:35 +04:00
parent 3929032e7a
commit f8e5b54a98
3 changed files with 28 additions and 10 deletions
+2 -2
View File
@@ -4241,8 +4241,8 @@ DNS-over-HTTPS with IP:
$text = $menu[$type ?: 'main' ]['text'];
$data = $menu[$type ?: 'main' ]['data'];
if (empty($type)) {
$b = exec('git -C / rev-parse --abbrev-ref HEAD');
if (empty($type) && $update) {
$b = exec('git -C / rev-parse --abbrev-ref HEAD');
array_unshift($data, [
[
'text' => 'changelog',