diff --git a/core/ajax/appconfig.php b/core/ajax/appconfig.php index de91d458ed..84e0710c74 100644 --- a/core/ajax/appconfig.php +++ b/core/ajax/appconfig.php @@ -7,7 +7,7 @@ require_once ("../../lib/base.php"); OC_Util::checkAdminUser(); -OC_JSON::checkLoggedIn(); + $action=isset($_POST['action'])?$_POST['action']:$_GET['action']; $result=false; switch($action){