Skip to content
Snippets Groups Projects
Commit 63a387ca authored by Florian Sommer's avatar Florian Sommer Committed by Christian Kuhn
Browse files

[BUGFIX] Fix warning when query result is written to csv file

The function fputcsv gets an enclosure as third parameter. Providing an
empty string as enclosure leads to following warning:

  fputcsv(): enclosure must be a character

To prevent this, the header line should also be surrounded by quotation
marks.

Resolves: #95734
Releases: master, 10.4
Change-Id: I39e550d1dd4b185845984a6d7fddd73fa143374b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71939


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarSybille Peters <sypets@gmx.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarTorben Hansen <derhansen@gmail.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 13990500
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment