[Rt-commit] rt branch, 4.0/users-gnupg-tab, created. rt-4.0.4-203-gcbfe0f3

Ruslan Zakirov ruz at bestpractical.com
Tue Jan 17 09:35:38 EST 2012


The branch, 4.0/users-gnupg-tab has been created
        at  cbfe0f354a4b3ae720f8b924a18660ee1caddc00 (commit)

- Log -----------------------------------------------------------------
commit cbfe0f354a4b3ae720f8b924a18660ee1caddc00
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Tue Jan 17 18:28:53 2012 +0400

    tab was hidden even if GnuPG is enabled
    
    It's just typo in variable we check

diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index c481329..bdf54b7 100755
--- a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -304,7 +304,7 @@ my $build_admin_menu = sub {
             $tabs->child( memberships => title => loc('Memberships'),    path => "/Admin/Users/Memberships.html?id=" . $id );
             $tabs->child( history     => title => loc('History'),        path => "/Admin/Users/History.html?id=" . $id );
             $tabs->child( 'my-rt'     => title => loc('RT at a glance'), path => "/Admin/Users/MyRT.html?id=" . $id );
-            if ( RT->Config->Get('GnuPG')->{'enable'} ) {
+            if ( RT->Config->Get('GnuPG')->{'Enable'} ) {
                 $tabs->child( pgp     => title => loc('GnuPG'),          path => "/Admin/Users/GnuPG.html?id=" . $id );
             }
         }

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


More information about the Rt-commit mailing list