diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AdminPanel/Shared.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AdminPanel/Shared.pm b/lib/AdminPanel/Shared.pm index 5103997..9fb4999 100644 --- a/lib/AdminPanel/Shared.pm +++ b/lib/AdminPanel/Shared.pm @@ -223,7 +223,6 @@ sub trim { =head3 INPUT - $self: this object $item: item to search $arr: array container @@ -239,7 +238,7 @@ This method returns if an item is into the array container #============================================================= sub inArray { - my ($self, $item, $arr) = @_; + my ($item, $arr) = @_; return grep( /^$item$/, @{$arr} ); } |