[Rt-commit] r9365 - rt/branches/3.6-RELEASE/html/Elements
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri Oct 19 15:42:08 EDT 2007
Author: sunnavy
Date: Fri Oct 19 15:42:07 2007
New Revision: 9365
Modified:
rt/branches/3.6-RELEASE/html/Elements/EditCustomFieldFreeform
Log:
we shouldn't replace "\n" with whitespace if it's multiple type
Modified: rt/branches/3.6-RELEASE/html/Elements/EditCustomFieldFreeform
==============================================================================
--- rt/branches/3.6-RELEASE/html/Elements/EditCustomFieldFreeform (original)
+++ rt/branches/3.6-RELEASE/html/Elements/EditCustomFieldFreeform Fri Oct 19 15:42:07 2007
@@ -57,7 +57,8 @@
while (my $value = $Values->Next ) {
$Default .= $value->Content."\n";
}
-} else {
+}
+elsif ( ! $Multiple ) {
$Default =~ s/\s*\n\s*/ /g if $Default;
}
</%INIT>
More information about the Rt-commit
mailing list