From f97d564ada81c7556242569cde69551ed64ed0c0 Mon Sep 17 00:00:00 2001 From: xiaomlove <1939737565@qq.com> Date: Thu, 11 Dec 2025 11:27:12 +0700 Subject: [PATCH] fix torrenttable() action render --- include/functions.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/functions.php b/include/functions.php index c0a99def..2145b447 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3827,10 +3827,12 @@ foreach ($rows as $row) if (user_can('torrentmanage')) { + $actions = []; if (user_can('torrent-delete')) { - print("\"D\""); + $actions[] = "\"D\""; } - print("
\"E\"\n"); + $actions[] = "\"E\""; + echo sprintf("%s", implode("
", $actions)); } print("\n"); $counter++;