From 630483c75d300e26a5c57cdb0b8957d8e1a30c07 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sat, 2 Mar 2013 00:53:53 +0100 Subject: [PATCH] Fix notice --- core/ajax/translations.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/ajax/translations.php b/core/ajax/translations.php index e52a2e9b1e..c9c6420779 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 );