mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 12:05:56 +00: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
|
* 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'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 %>
|
Loading…
x
Reference in New Issue
Block a user