[Rt-commit] rt branch, 4.0/rest-reedit-content, updated. rt-4.0.11rc1-2-g8d66d31

Thomas Sibley trs at bestpractical.com
Wed Jul 17 19:28:35 EDT 2013


The branch, 4.0/rest-reedit-content has been updated
       via  8d66d316d0ba0ba1a82c1cb6b3b7c7a62e3d1abb (commit)
      from  8bca9b4b4fac320b89073b08fd6f921d1dcb1c42 (commit)

Summary of changes:
 bin/rt.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 8d66d316d0ba0ba1a82c1cb6b3b7c7a62e3d1abb
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Jul 17 16:28:00 2013 -0700

    Ensure a newline is between the error comments and the previously submitted form

diff --git a/bin/rt.in b/bin/rt.in
index 14bec11..c6e35d3 100644
--- a/bin/rt.in
+++ b/bin/rt.in
@@ -671,7 +671,7 @@ EDIT:
             # If we submitted a bad form, we'll give the user a chance
             # to correct it and resubmit.
             if ($edit || (!$input && !$cl)) {
-                my $content = $r->content;
+                my $content = $r->content . "\n";
                 $content =~ s/^(?!#)/#     /mg;
                 $text = $content . $text;
                 $synerr = 1;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list