$l was undefined

This commit is contained in:
Thomas Müller 2012-09-17 14:50:17 +03:00
parent 21bffbfb69
commit 1fd3c5fbc0
1 changed files with 1 additions and 0 deletions

View File

@ -10,5 +10,6 @@ $appid = OC_App::enable($_POST['appid']);
if($appid !== false) {
OC_JSON::success(array('data' => array('appid' => $appid)));
} else {
$l = OC_L10N::get('settings');
OC_JSON::error(array("data" => array( "message" => $l->t("Could not enable app. ") )));
}