Scratch filter tests in prep for WebGUI::Group->getScratchUsers
Small tweaks for User.pm scratch and Group.pm POD Update scratchFilter docs to show how to place multiple name and value pairs
This commit is contained in:
parent
8cd87a2733
commit
f9b8582426
4 changed files with 109 additions and 9 deletions
|
|
@ -287,8 +287,8 @@ sub isInGroup {
|
|||
}
|
||||
}
|
||||
### Check Scratch Variables
|
||||
if ($group->get("scratchFilter")) {
|
||||
my $scratchFilter = $group->get("scratchFilter");
|
||||
if ($group->scratchFilter()) {
|
||||
my $scratchFilter = $group->scratchFilter();
|
||||
$scratchFilter =~ s/\s//g;
|
||||
my @vars = split(";",$scratchFilter);
|
||||
foreach my $var (@vars) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue