Bugfix in getGroupsInGroup function
This commit is contained in:
parent
8eed77ae08
commit
9f94bbead8
1 changed files with 1 additions and 0 deletions
|
|
@ -254,6 +254,7 @@ A boolean value to determine whether the method should return the groups directl
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
sub getGroupsInGroup {
|
sub getGroupsInGroup {
|
||||||
|
return undef unless $_[0];
|
||||||
my $groups = WebGUI::SQL->buildArrayRef("select groupId from groupGroupings where inGroup=$_[0]");
|
my $groups = WebGUI::SQL->buildArrayRef("select groupId from groupGroupings where inGroup=$_[0]");
|
||||||
if ($_[1]) {
|
if ($_[1]) {
|
||||||
my @groupsOfGroups = @$groups;
|
my @groupsOfGroups = @$groups;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue