[Rt-commit] [svn] r995 - rt/branches/rt-3.1/lib/RT/Interface

leira at pallas.eruditorum.org leira at pallas.eruditorum.org
Wed Jun 2 13:04:16 EDT 2004


Author: leira
Date: Wed Jun  2 13:04:15 2004
New Revision: 995

Modified:
   rt/branches/rt-3.1/lib/RT/Interface/Web.pm
Log:
Patch from Todd Chapman <todd at chaka.net> (ticket #5405) to allow passing of ticket type into CreateTicket.

This doesn't change the UI, it just accepts the value in Web.pm.


Modified: rt/branches/rt-3.1/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/rt-3.1/lib/RT/Interface/Web.pm	(original)
+++ rt/branches/rt-3.1/lib/RT/Interface/Web.pm	Wed Jun  2 13:04:15 2004
@@ -319,6 +319,7 @@
     }
 
     my %create_args = (
+        Type            => $ARGS{'Type'} || 'ticket',
         Queue           => $ARGS{'Queue'},
         Owner           => $ARGS{'Owner'},
         InitialPriority => $ARGS{'InitialPriority'},
@@ -362,7 +363,6 @@
                 Base => $luri,
                 Type => $linktype
             );
-
             push ( @Actions, $msg ) unless ($val);
         }
     }


More information about the Rt-commit mailing list