summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-03-01 23:39:27 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2013-03-01 23:39:27 -0800
commit2af3bc3e77c88ae471d0a756129019c5e076b3e9 (patch)
tree1217e088a702adb2ea946eda417a09989cb9c786 /core
parentc9d9c381ec22d7a416a1096a909d8b6f386c8171 (diff)
parent630483c75d300e26a5c57cdb0b8957d8e1a30c07 (diff)
downloadnextcloud-server-2af3bc3e77c88ae471d0a756129019c5e076b3e9.tar.gz
nextcloud-server-2af3bc3e77c88ae471d0a756129019c5e076b3e9.zip
Merge pull request #2022 from owncloud/fix-notice
Fix notice
Diffstat (limited to 'core')
-rw-r--r--core/ajax/translations.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ajax/translations.php b/core/ajax/translations.php
index e52a2e9b1e8..c9c64207798 100644
--- a/core/ajax/translations.php
+++ b/core/ajax/translations.php
@@ -21,7 +21,8 @@
*
*/
-$app = $_POST["app"];
+$app = isset($_POST["app"]) ? $_POST["app"] : "";
+
$app = OC_App::cleanAppId($app);
$l = OC_L10N::get( $app );