aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax/navigationdetect.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/navigationdetect.php')
-rw-r--r--settings/ajax/navigationdetect.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/navigationdetect.php b/settings/ajax/navigationdetect.php
index 7f961eb9bc5..71d0e4c8c04 100644
--- a/settings/ajax/navigationdetect.php
+++ b/settings/ajax/navigationdetect.php
@@ -3,7 +3,7 @@
OC_Util::checkAdminUser();
OCP\JSON::callCheck();
-$app = $_GET['app'];
+$app = (string)$_GET['app'];
$app = OC_App::cleanAppId($app);
$navigation = OC_App::getAppNavigationEntries($app);