diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-29 18:21:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 18:21:31 +0100 |
commit | 6aefd8389b4eb895319fe5de6f13198d8dc03a46 (patch) | |
tree | 4dc25106484d8250eb0af3810b67d7ea4c2ba416 /apps/files | |
parent | 8abde7702aae10b1ed25409a38efd64f9dc45e81 (diff) | |
parent | ac7c7782ff0681e6f192e4f0b9858af753cb7234 (diff) | |
download | nextcloud-server-6aefd8389b4eb895319fe5de6f13198d8dc03a46.tar.gz nextcloud-server-6aefd8389b4eb895319fe5de6f13198d8dc03a46.zip |
Merge pull request #12732 from nextcloud/polishing-fixes
Polishing fixes
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/lib/Controller/ApiController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index a967c8bd7bb..f9e4bcb5738 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -286,7 +286,7 @@ class ApiController extends Controller { * @NoAdminRequired */ public function getGridView() { - $status = $this->config->getUserValue($this->userSession->getUser()->getUID(), 'files', 'show_grid', '1') === '1'; + $status = $this->config->getUserValue($this->userSession->getUser()->getUID(), 'files', 'show_grid', '0') === '1'; return new JSONResponse(['gridview' => $status]); } |