diff options
Diffstat (limited to 'settings/ajax/updateapp.php')
-rw-r--r-- | settings/ajax/updateapp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/updateapp.php b/settings/ajax/updateapp.php index 3e28c65285d..fece144f464 100644 --- a/settings/ajax/updateapp.php +++ b/settings/ajax/updateapp.php @@ -15,7 +15,7 @@ if (!array_key_exists('appid', $_POST)) { return; } -$appId = $_POST['appid']; +$appId = (string)$_POST['appid']; if (!is_numeric($appId)) { $appId = \OC::$server->getAppConfig()->getValue($appId, 'ocsid', null); |