diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-06-05 09:49:59 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-06-05 09:49:59 +0200 |
commit | 93d4b1701fbef7e2173324e27adc751062ca360f (patch) | |
tree | f9b9f3bdeeec8bddef14b1d727b7ca6c3ed27594 /lib | |
parent | ccc5ce7bf9abe341119acb0aa4a8a138add41dc7 (diff) | |
parent | 471b9ce4fa7fca6491ccd3e1557637f09827f7ab (diff) |
Merge branch 'master' of git.fripost.org:fripost-tools
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Fripost/Commands/search_alias.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Fripost/Commands/search_alias.pm b/lib/Fripost/Commands/search_alias.pm index fc1959d..2241436 100644 --- a/lib/Fripost/Commands/search_alias.pm +++ b/lib/Fripost/Commands/search_alias.pm @@ -29,10 +29,8 @@ sub perform_search { } sub main { - my $ldap = shift; - my $conf = shift; - - my $search = $_[0]; + my ($ldap, $conf, $search) = @_; + $search //= ''; my $f = $conf->{from}; my $g = $conf->{goto}; |