diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-17 14:50:17 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-17 14:50:17 +0300 |
commit | 1fd3c5fbc0b76fd6513670445e3358b94231d41a (patch) | |
tree | d5f0ae077e1ab3b0f208a50a5b032fc85021a17b /settings/ajax/enableapp.php | |
parent | 21bffbfb6964d46e36240d2001dd8bb4533b6d3d (diff) | |
download | nextcloud-server-1fd3c5fbc0b76fd6513670445e3358b94231d41a.tar.gz nextcloud-server-1fd3c5fbc0b76fd6513670445e3358b94231d41a.zip |
$l was undefined
Diffstat (limited to 'settings/ajax/enableapp.php')
-rw-r--r-- | settings/ajax/enableapp.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php index 1075a9a433c..c3b3491db93 100644 --- a/settings/ajax/enableapp.php +++ b/settings/ajax/enableapp.php @@ -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. ") ))); } |