From: rettenbe Date: Fri, 23 May 2008 09:39:00 +0000 (+0000) Subject: wrong if-clause X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5e702a8304a79ec8eedb695efb79fe0cd3e531ef;p=gosa.git wrong if-clause git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10989 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/server/events/server_server_com.pm b/gosa-si/server/events/server_server_com.pm index 760928ef2..e417150e1 100644 --- a/gosa-si/server/events/server_server_com.pm +++ b/gosa-si/server/events/server_server_com.pm @@ -30,7 +30,7 @@ sub new_server { my $source = @{$msg_hash->{'source'}}[0]; my $target = @{$msg_hash->{'target'}}[0]; my $key = @{$msg_hash->{'key'}}[0]; - my @clients = @{$msg_hash->{'client'}}; + my @clients = exists $msg_hash->{'client'} ? @{$msg_hash->{'client'}} : qw(); # sanity check if (ref $key eq 'HASH') {