aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax/uninstallapp.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/uninstallapp.php')
-rw-r--r--settings/ajax/uninstallapp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/uninstallapp.php b/settings/ajax/uninstallapp.php
index e50fc31a449..fedc1170751 100644
--- a/settings/ajax/uninstallapp.php
+++ b/settings/ajax/uninstallapp.php
@@ -7,7 +7,7 @@ if (!array_key_exists('appid', $_POST)) {
exit;
}
-$appId = $_POST['appid'];
+$appId = (string)$_POST['appid'];
$appId = OC_App::cleanAppId($appId);
$result = OC_App::removeApp($appId);