Skip to content
Snippets Groups Projects
Commit 3c75bcba authored by Kevin Paxman's avatar Kevin Paxman
Browse files

ISTWCMS-5754: restore part of comment likely accidentally removed in rebase

parent 987e3f56
No related branches found
No related tags found
1 merge request!270Feature/istwcms 5754 ebremner csv menu report
...@@ -131,7 +131,7 @@ class UwDownloadCsvController extends ControllerBase { ...@@ -131,7 +131,7 @@ class UwDownloadCsvController extends ControllerBase {
// Step through each of the nodes and get the info. // Step through each of the nodes and get the info.
foreach ($nodes as $node) { foreach ($nodes as $node) {
// Pull out the info about the node. // Pull out the info about the node, making sure the title is CSV-safe.
$data = [ $data = [
'nid' => $node->id(), 'nid' => $node->id(),
'title' => '"' . str_replace('"', '""', $node->getTitle()) . '"', 'title' => '"' . str_replace('"', '""', $node->getTitle()) . '"',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment