projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f6f13
)
CRM/Core/CodeGen/Util/Template - Fix comment alignment in generated SQL
author
Tim Otten
<totten@civicrm.org>
Wed, 8 Jan 2014 05:13:35 +0000
(21:13 -0800)
committer
Tim Otten
<totten@civicrm.org>
Wed, 8 Jan 2014 05:13:35 +0000
(21:13 -0800)
The missing newlines were causing SQL loading to crash in Joomla.
CRM/Core/CodeGen/Util/Template.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/CodeGen/Util/Template.php
b/CRM/Core/CodeGen/Util/Template.php
index 6f3654442175e485d98ccff438486ece24616196..e151496015980b9a52cf1b76589f387109b9606a 100644
(file)
--- a/
CRM/Core/CodeGen/Util/Template.php
+++ b/
CRM/Core/CodeGen/Util/Template.php
@@
-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);
}
}