]> source.dussan.org Git - nextcloud-server.git/commitdiff
$l was undefined
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 17 Sep 2012 11:50:17 +0000 (14:50 +0300)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 17 Sep 2012 11:50:17 +0000 (14:50 +0300)
settings/ajax/enableapp.php

index 1075a9a433c0e7f83546373e316804eb461e8719..c3b3491db931f9d706a3f89eacac03b8a2f23200 100644 (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. ") )));
 }