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

sartak at bestpractical.com sartak at bestpractical.com
Wed Nov 25 06:41:16 EST 2009


The branch, 3.999-trunk has been updated
       via  20f2f2a8f0673809389ebc55aa2a8c12a1afc953 (commit)
      from  eb65bad7d117b06f20e65569cd5c8b1e258f6c93 (commit)

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

- Log -----------------------------------------------------------------
commit 20f2f2a8f0673809389ebc55aa2a8c12a1afc953
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Nov 25 06:41:06 2009 -0500

    Always have a sign_using parameter so it's always validated

diff --git a/lib/RT/Action/CreateTicket.pm b/lib/RT/Action/CreateTicket.pm
index 88a1c31..ec0fe6c 100644
--- a/lib/RT/Action/CreateTicket.pm
+++ b/lib/RT/Action/CreateTicket.pm
@@ -195,6 +195,13 @@ sub setup_gnupg {
             ],
         ));
     }
+    else {
+        # always have sign_using so it can be validated
+        $self->fill_parameter(sign_using => (
+            default_value => '',
+            render_as => 'hidden',
+        ));
+    }
 
     $self->fill_parameter(encrypt => (
         render_as     => 'checkbox',

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


More information about the Rt-commit mailing list