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++;