diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index a8cd587..aacbec9 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -1092,6 +1092,7 @@ class Poche public function export() { $entries = $this->store->retrieveAll($this->user->getId()); + header('Content-Disposition: attachment; filename=poche-export'); echo $this->tpl->render('export.twig', array( 'export' => Tools::renderJson($entries), ));