Skip to content
Snippets Groups Projects
Commit 45581edd authored by totten's avatar totten
Browse files

CRM/Core/CodeGen/Util/Template - Fix comment alignment in generated SQL

The missing newlines were causing SQL loading to crash in Joomla.
parent a6f6f13f
Branches
Tags
No related merge requests found
......@@ -56,7 +56,7 @@ class CRM_Core_CodeGen_Util_Template {
unlink($outpath);
foreach ($inputs as $infile) {
// FIXME: does not beautify. Document.
file_put_contents($outpath, $this->smarty->fetch($infile), FILE_APPEND);
file_put_contents($outpath, $this->smarty->fetch($infile) ."\n", FILE_APPEND);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment