[Rt-commit] rt branch, 3.999-trunk, updated. d85d8e776022674ce51f6a9e67d883c1d7e134c9

sartak at bestpractical.com sartak at bestpractical.com
Mon Nov 23 22:04:00 EST 2009


The branch, 3.999-trunk has been updated
       via  d85d8e776022674ce51f6a9e67d883c1d7e134c9 (commit)
      from  6fe8c3c816b372c840666457a723cc1d124755e0 (commit)

Summary of changes:
 lib/RT/Action/CreateTicket.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit d85d8e776022674ce51f6a9e67d883c1d7e134c9
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Nov 23 22:03:44 2009 -0500

    Respect the queue's default sign/encrypt values

diff --git a/lib/RT/Action/CreateTicket.pm b/lib/RT/Action/CreateTicket.pm
index f141df6..5cf4c92 100644
--- a/lib/RT/Action/CreateTicket.pm
+++ b/lib/RT/Action/CreateTicket.pm
@@ -184,10 +184,12 @@ sub setup_gnupg {
 
     $self->fill_parameter(sign => (
         render_as => 'checkbox',
+        default   => $queue->sign,
     ));
 
     $self->fill_parameter(encrypt => (
         render_as => 'checkbox',
+        default   => $queue->encrypt,
     ));
 }
 

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


More information about the Rt-commit mailing list