MINOR: updating method name to match deployment

This commit is contained in:
Julian Seidenberg 2012-11-13 10:51:42 +13:00
parent 090c39c378
commit 57063c1c48
2 changed files with 2 additions and 2 deletions

2
code/DMSDocument.php Normal file → Executable file
View File

@ -498,7 +498,7 @@ class DMSDocument extends DataObject implements DMSDocumentInterface {
* Returns the Description field with HTML <br> tags added when there is a line break * Returns the Description field with HTML <br> tags added when there is a line break
* @return string Description * @return string Description
*/ */
function getDescriptionWithLineBreaks() { function getDescriptionWithLineBreak() {
return nl2br($this->getField('Description')); return nl2br($this->getField('Description'));
} }

View File

@ -13,7 +13,7 @@
| Last Changed: $LastChanged.Nice | Last Changed: $LastChanged.Nice
</p> </p>
<% if Description %> <% if Description %>
<p>$DescriptionWithLineBreaks</p> <p>$DescriptionWithLineBreak</p>
<% end_if %> <% end_if %>
</div> </div>
<% end_if %> <% end_if %>