diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-10-12 00:05:19 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-10-12 00:05:19 +0200 |
commit | 634c11085639aa80caf6e546bd916b5c4f6e89ee (patch) | |
tree | f19203063b714cc654dedb9e8c6e47dff94b63ce /lib/AdminPanel | |
parent | 40d7b7f5f382c62613edc38498baad930dec8f63 (diff) | |
download | manatools-634c11085639aa80caf6e546bd916b5c4f6e89ee.tar manatools-634c11085639aa80caf6e546bd916b5c4f6e89ee.tar.gz manatools-634c11085639aa80caf6e546bd916b5c4f6e89ee.tar.bz2 manatools-634c11085639aa80caf6e546bd916b5c4f6e89ee.tar.xz manatools-634c11085639aa80caf6e546bd916b5c4f6e89ee.zip |
Shared is not a class atm
Diffstat (limited to 'lib/AdminPanel')
-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 51039970..9fb4999c 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} ); } |