From 4bf1acf36dc4c6df940efa0b520d03b761977edc Mon Sep 17 00:00:00 2001 From: Administrator Date: Sun, 27 May 2018 03:10:52 +0200 Subject: [PATCH] Fix export docs --- src/User/Controller/SettingsController.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/User/Controller/SettingsController.php b/src/User/Controller/SettingsController.php index 0ee63b3..3261a08 100644 --- a/src/User/Controller/SettingsController.php +++ b/src/User/Controller/SettingsController.php @@ -155,7 +155,11 @@ class SettingsController extends Controller } /** - * Exports the personal data of the current active user + * Exports the data from the current user in a mechanical readable format (csv). Properties exported can be defined + * in the module configuration. + * @throws NotFoundHttpException if gdpr compliance is not enabled + * @throws \Exception + * @throws \Throwable */ public function actionExport() { @@ -182,7 +186,7 @@ class SettingsController extends Controller Yii::$app->response->send(); $f = fopen('php://output', 'w'); foreach ($data as $line) { - fputcsv($f, $line, ";"); + fputcsv($f, $line); } } catch (\Exception $e) { throw $e;