X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Faccess_group.pm;h=b5b693a8f5c757a8d1561420ef12ca0db1db2ab6;hb=72deba42ac5847c2a6bdeea20157035b8f9df7ae;hp=25190406f1b18fe4da5a7ed24b5fee9838338be7;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git 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,