diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-03-01 23:39:27 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-03-01 23:39:27 -0800 |
commit | 2af3bc3e77c88ae471d0a756129019c5e076b3e9 (patch) | |
tree | 1217e088a702adb2ea946eda417a09989cb9c786 /core | |
parent | c9d9c381ec22d7a416a1096a909d8b6f386c8171 (diff) | |
parent | 630483c75d300e26a5c57cdb0b8957d8e1a30c07 (diff) | |
download | nextcloud-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.php | 3 |
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 ); |