[Rt-devel] [PATCH 3.7-RTIR-RELENG 2/2] xhtml: extra </div> closing tag

Jason Long jlong at messiah.edu
Wed Oct 31 08:54:44 EDT 2007


In this case the <div> was opened inside a foreach loop,
but </div> closed outside of the foreach loop.

So this patch moves the </div> inside the foreach loop.
---

 html/Ticket/Elements/ShowTransactionAttachments |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/html/Ticket/Elements/ShowTransactionAttachments b/html/Ticket/Elements/ShowTransactionAttachments
index fa71472..6f44fd8 100644
--- a/html/Ticket/Elements/ShowTransactionAttachments
+++ b/html/Ticket/Elements/ShowTransactionAttachments
@@ -154,9 +154,9 @@ $m->comp(
     ParentObj => $message
 );
 
-}
 </%PERL>
 </div>
+% } #end foreach attachment
 <%ARGS>
 $Ticket => undef
 $Transaction => undef



More information about the Rt-devel mailing list