From ecd51e8449fd5b9187b40d621ce1888a13e72814 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Fri, 11 Aug 2023 12:40:55 +0200 Subject: Fix duplicate bot formatting Signed-off-by: jld3103 --- lib/Controller/BotController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/BotController.php b/lib/Controller/BotController.php index 24dbe149e..bf6ce318f 100644 --- a/lib/Controller/BotController.php +++ b/lib/Controller/BotController.php @@ -265,7 +265,7 @@ class BotController extends AEnvironmentAwareController { foreach ($bots as $bot) { $botData = $this->formatBot($bot, in_array($bot->getId(), $alreadyInstalled, true)); if ($botData !== null) { - $data[] = $this->formatBot($bot, in_array($bot->getId(), $alreadyInstalled, true)); + $data[] = $botData; } } -- cgit v1.2.3