diff --git a/core/ajax/appconfig.php b/core/ajax/appconfig.php index de91d458ed153286ee1828d7ca5e877728d35214..84e0710c74a5c36b40e73d240221f4cd880befd1 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){