bugfix [ 1025671 ] Crash on manage page tree.
bugfix [ 1025271 ] Cut page not working. bugfix [ 1024643 ] Unknown column error.
This commit is contained in:
parent
c723455c7a
commit
a9bc2805ca
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ sub www_deleteGroupGrouping {
|
|||
#-------------------------------------------------------------------
|
||||
sub www_deleteGroupingSecondary {
|
||||
return WebGUI::Privilege::adminOnly() unless _hasSecondaryPrivilege($session{form}{gid});
|
||||
if ($session{user}{userId} == $session{form}{uid}) {
|
||||
if ($session{user}{userId} eq $session{form}{uid}) {
|
||||
return WebGUI::Privilege::vitalComponent();
|
||||
}
|
||||
WebGUI::Grouping::deleteUsersFromGroups([$session{form}{uid}],[$session{form}{gid}]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue