mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
MINOR: updating method name to match deployment
This commit is contained in:
parent
090c39c378
commit
57063c1c48
2
code/DMSDocument.php
Normal file → Executable file
2
code/DMSDocument.php
Normal file → Executable 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
|
||||
* @return string Description
|
||||
*/
|
||||
function getDescriptionWithLineBreaks() {
|
||||
function getDescriptionWithLineBreak() {
|
||||
return nl2br($this->getField('Description'));
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
| Last Changed: $LastChanged.Nice
|
||||
</p>
|
||||
<% if Description %>
|
||||
<p>$DescriptionWithLineBreaks</p>
|
||||
<p>$DescriptionWithLineBreak</p>
|
||||
<% end_if %>
|
||||
</div>
|
||||
<% end_if %>
|
Loading…
Reference in New Issue
Block a user