create new permission group "Groups" in php

This commit is contained in:
Andrew Bauer 2015-08-15 11:56:51 -05:00
parent 28bbcbb2d9
commit 2770e752b4
1 changed files with 2 additions and 2 deletions

View File

@ -624,8 +624,8 @@ if ( !empty($action) )
}
}
// System view actions
if ( $action == "setgroup" ) {
// Group view actions
if ( canView( 'Groups' ) && $action == "setgroup" ) {
if ( !empty($_REQUEST['gid']) ) {
setcookie( "zmGroup", validInt($_REQUEST['gid']), time()+3600*24*30*12*10 );
} else {