From 732c92e93abfc200e4eee90a8e727ef562dc5604 Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@statuscode.ch>
Date: Tue, 25 Apr 2017 21:06:24 +0200
Subject: Make disableapp.php accept arrays

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
---
 settings/Controller/AppSettingsController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'settings/Controller/AppSettingsController.php')

diff --git a/settings/Controller/AppSettingsController.php b/settings/Controller/AppSettingsController.php
index f3ef715a235..4cd4afd01dd 100644
--- a/settings/Controller/AppSettingsController.php
+++ b/settings/Controller/AppSettingsController.php
@@ -370,9 +370,9 @@ class AppSettingsController extends Controller {
 							if($app['id'] === $identifier) {
 								if($newCategory) {
 									$app['newCategory'] = true;
-									$app['bundleId'] = $bundle->getIdentifier();
 									$app['categoryName'] = $bundle->getName();
 								}
+								$app['bundleId'] = $bundle->getIdentifier();
 								$newCategory = false;
 								$apps[] = $app;
 								continue;
-- 
cgit v1.2.3