Skip to content
Snippets Groups Projects
Unverified Commit c62f5e97 authored by Daniel Siepmann's avatar Daniel Siepmann
Browse files

TASK: Fix escaping

parent 7b23a82a
1 merge request!93FEATURE: Provide cli to generate migration commands
Pipeline #252 passed with stages
in 2 minutes and 28 seconds
......@@ -70,7 +70,7 @@ class ReplaceNameSpaceImport extends Command
$this->output->writeln("LC_ALL=C sed -i '' 's#Tx_{$extName}_ViewHelpers#{$vendor}\\\\{$extName}\\\\ViewHelpers#' `ag 'Tx_{$extName}_ViewHelpers' --html -l`;");
}
if ($this->input->getOption('hide-sql') == false) {
$this->output->writeln("UPDATE tt_content SET bodytext = replace(bodytext, 'Tx_{$extName}_ViewHelpers', '{$vendor}\\{$extName}\\ViewHelpers') WHERE bodytext LIKE '%Tx_{$extName}_ViewHelpers%';");
$this->output->writeln("UPDATE tt_content SET bodytext = replace(bodytext, 'Tx_{$extName}_ViewHelpers', '{$vendor}\\\\{$extName}\\\\ViewHelpers') WHERE bodytext LIKE '%Tx_{$extName}_ViewHelpers%';");
}
}
......
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