diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-03-02 00:53:53 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-03-02 00:53:53 +0100 |
commit | 630483c75d300e26a5c57cdb0b8957d8e1a30c07 (patch) | |
tree | d81fe7cc23d8ac0dc90a27b7bdc51981b3dde06e /core/ajax/translations.php | |
parent | 31754a653b13fdf31273177f12c39e32cb8c4001 (diff) | |
download | nextcloud-server-630483c75d300e26a5c57cdb0b8957d8e1a30c07.tar.gz nextcloud-server-630483c75d300e26a5c57cdb0b8957d8e1a30c07.zip |
Fix notice
Diffstat (limited to 'core/ajax/translations.php')
-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 ); |