aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax/disableapp.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/disableapp.php')
-rw-r--r--settings/ajax/disableapp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/disableapp.php b/settings/ajax/disableapp.php
index 1a133ea9af7..bd50234bcba 100644
--- a/settings/ajax/disableapp.php
+++ b/settings/ajax/disableapp.php
@@ -7,7 +7,7 @@ if (!array_key_exists('appid', $_POST)) {
exit;
}
-$appId = $_POST['appid'];
+$appId = (string)$_POST['appid'];
$appId = OC_App::cleanAppId($appId);
// FIXME: Clear the cache - move that into some sane helper method