Commit 59103cfbcfa84e7c97efba2ace20089a3b4a8f97

Authored by Megan Watson
1 parent d3f28ef4

KTS-2831

"CLONE -End line characters in discussions and disclaimers being displayed as html tags (SUP-546)"
Fixed. Replaced the \r\n with <br>

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7912 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/KTDisclaimers.php
... ... @@ -73,7 +73,7 @@ class KTDisclaimersPlugin extends KTPlugin {
73 73 $aHelp = KTHelp::getHelpInfo($sLocation);
74 74  
75 75 if(!PEAR::isError($aHelp) && strlen(trim($aHelp['body']))) {
76   - $sDisclaimer = str_replace(array('\r','\n'), array('<br>','<br>'), $aHelp['body']);
  76 + $sDisclaimer = str_replace('\r\n', '<br>', $aHelp['body']);
77 77 }
78 78 }
79 79  
... ...