diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-08-11 12:40:55 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-08-11 11:14:46 +0000 |
commit | ecd51e8449fd5b9187b40d621ce1888a13e72814 (patch) | |
tree | be071702b2fc9bbe33adb79d0f197986ed4b4bcd | |
parent | 012f87e4e346e56069c0b646d883b1881462a54a (diff) |
Fix duplicate bot formatting
Signed-off-by: jld3103 <jld3103yt@gmail.com>
-rw-r--r-- | lib/Controller/BotController.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |