From 630483c75d300e26a5c57cdb0b8957d8e1a30c07 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sat, 2 Mar 2013 00:53:53 +0100 Subject: Fix notice --- core/ajax/translations.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') 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 ); -- cgit v1.2.3