summaryrefslogtreecommitdiffstats
path: root/apps/gallery/ajax/thumbnail.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/ajax/thumbnail.php')
-rw-r--r--apps/gallery/ajax/thumbnail.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gallery/ajax/thumbnail.php b/apps/gallery/ajax/thumbnail.php
index 4fc9eba992d..5bf1d420dc4 100644
--- a/apps/gallery/ajax/thumbnail.php
+++ b/apps/gallery/ajax/thumbnail.php
@@ -23,6 +23,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('gallery');
+session_write_close();
require_once('apps/gallery/lib/managers.php');