added missing group sub
This commit is contained in:
parent
b97163dc85
commit
50ee02792a
1 changed files with 24 additions and 0 deletions
|
|
@ -264,6 +264,30 @@ sub float {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
|
=head2 group ( name )
|
||||||
|
|
||||||
|
Returns a group Id. Defaults to 2 (registered users).
|
||||||
|
|
||||||
|
=over
|
||||||
|
|
||||||
|
=item name
|
||||||
|
|
||||||
|
The name of the form variable to retrieve.
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub group {
|
||||||
|
my $value = selectList($_[0]);
|
||||||
|
if (defined $value) {
|
||||||
|
return $value;
|
||||||
|
}
|
||||||
|
return 2;
|
||||||
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
=head2 hidden ( name )
|
=head2 hidden ( name )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue