[Rt-commit] rt branch, 4.0/group-admin, created. rt-3.9.7-1188-gcb1240e

Alex Vandiver alexmv at bestpractical.com
Wed Jan 12 20:21:58 EST 2011


The branch, 4.0/group-admin has been created
        at  cb1240e8c6acd9a0bf3ecfef66585588e548a147 (commit)

- Log -----------------------------------------------------------------
commit cb1240e8c6acd9a0bf3ecfef66585588e548a147
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Jan 12 20:21:50 2011 -0500

    You may not have access to the only matching group; check before attempting the redirect

diff --git a/share/html/Admin/Groups/index.html b/share/html/Admin/Groups/index.html
index 38b9941..99c8330 100755
--- a/share/html/Admin/Groups/index.html
+++ b/share/html/Admin/Groups/index.html
@@ -99,7 +99,7 @@ if (length $GroupString) {
 	); 
     }
     RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."Admin/Groups/Modify.html?id=".$Groups->First->id)
-          if $Groups->Count == 1;
+          if $Groups->Count == 1 and $Groups->First;
 }
 else {
     $caption = loc("User-defined groups");

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


More information about the Rt-commit mailing list