diff options
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 ); |