[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.6-299-gd8b7c96

Kevin Falcone falcone at bestpractical.com
Wed Aug 22 18:45:20 EDT 2012


The branch, 4.0-trunk has been updated
       via  d8b7c9669e3f57753f867fd8b43cf03ad9dca10e (commit)
      from  a287f6da635142df6d89277c5426ddf74350970c (commit)

Summary of changes:
 share/html/Admin/Groups/Modify.html | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit d8b7c9669e3f57753f867fd8b43cf03ad9dca10e
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Aug 22 18:41:09 2012 -0400

    Set a default value
    
    Otherwise when we interpolate undef (after disabling a group) we warn

diff --git a/share/html/Admin/Groups/Modify.html b/share/html/Admin/Groups/Modify.html
index 148c98e..4491a71 100755
--- a/share/html/Admin/Groups/Modify.html
+++ b/share/html/Admin/Groups/Modify.html
@@ -162,10 +162,7 @@ MaybeRedirectForResults(
 
 push @results, @warnings;
 
-unless ($Group->Disabled()) {
-    $EnabledChecked ='checked="checked"';
-}
-
+$EnabledChecked = ( $Group->Disabled() ? '' : 'checked="checked"' );
 
 </%INIT>
 

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


More information about the Rt-commit mailing list