summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Controller/BotController.php2
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;
}
}