aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-xinc/poche/Poche.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index a8cd5871..aacbec95 100755
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -1092,6 +1092,7 @@ class Poche
1092 public function export() 1092 public function export()
1093 { 1093 {
1094 $entries = $this->store->retrieveAll($this->user->getId()); 1094 $entries = $this->store->retrieveAll($this->user->getId());
1095 header('Content-Disposition: attachment; filename=poche-export');
1095 echo $this->tpl->render('export.twig', array( 1096 echo $this->tpl->render('export.twig', array(
1096 'export' => Tools::renderJson($entries), 1097 'export' => Tools::renderJson($entries),
1097 )); 1098 ));