[Rt-commit] r6779 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Thu Jan 18 10:57:57 EST 2007


Author: ruz
Date: Thu Jan 18 10:57:55 2007
New Revision: 6779

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/index.html

Log:
 r4399 at cubic-pc:  cubic | 2007-01-18 17:25:32 +0300
 * code in the Create method is much simpler for ids


Modified: rt/branches/3.7-EXPERIMENTAL/html/index.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/index.html	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/index.html	Thu Jan 18 10:57:55 2007
@@ -81,11 +81,11 @@
 
 my @results;
 
-if ($ARGS{'QuickCreate'} ) {
+if ( $ARGS{'QuickCreate'} ) {
     my $ticket = RT::Ticket->new($session{'CurrentUser'});
     my ($tid, $trans, $tmsg) = $ticket->Create(Queue => $ARGS{'Queue'},
                     Owner => $ARGS{'Owner'},
-                    Requestor => $session{'CurrentUser'}->UserObj->EmailAddress,
+                    Requestor => $session{'CurrentUser'}->id,
                     Subject => $ARGS{'Subject'});
 
 


More information about the Rt-commit mailing list