[Rt-commit] [svn] r1277 - rt/branches/3.2-RELEASE/html/Tools

leira at pallas.eruditorum.org leira at pallas.eruditorum.org
Thu Jul 22 22:30:36 EDT 2004


Author: leira
Date: Thu Jul 22 22:30:36 2004
New Revision: 1277

Modified:
   rt/branches/3.2-RELEASE/html/Tools/Offline.html
Log:
If a template file is uploaded, clear out the old template first (as before).


Modified: rt/branches/3.2-RELEASE/html/Tools/Offline.html
==============================================================================
--- rt/branches/3.2-RELEASE/html/Tools/Offline.html	(original)
+++ rt/branches/3.2-RELEASE/html/Tools/Offline.html	Thu Jul 22 22:30:36 2004
@@ -108,6 +108,7 @@
 my $action = RT::Action::CreateTickets->new(CurrentUser => $session{'CurrentUser'});
 ;
 if ($ARGS{'Parse'} && $ARGS{'Template'}) {
+    $ARGS{'string'} = "";
     my $cgi_object = $m->cgi_object;
     my $fh = $cgi_object->upload('Template');
     my $filename = "$fh";


More information about the Rt-commit mailing list