X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Faccess_group.pm;h=b5b693a8f5c757a8d1561420ef12ca0db1db2ab6;hp=25190406f1b18fe4da5a7ed24b5fee9838338be7;hb=ad7f49821d40ffd099a45acc32ba91e0e211aede;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0 diff --git a/FS/FS/access_group.pm b/FS/FS/access_group.pm index 25190406f..b5b693a8f 100644 --- a/FS/FS/access_group.pm +++ b/FS/FS/access_group.pm @@ -140,7 +140,7 @@ test if this group has the given RIGHTNAME. =cut sub access_right { - my( $self, $name ) = shift; + my( $self, $name ) = @_; qsearchs('access_right', { 'righttype' => 'FS::access_group', 'rightobjnum' => $self->groupnum, 'rightname' => $name,