From 5e702a8304a79ec8eedb695efb79fe0cd3e531ef Mon Sep 17 00:00:00 2001 From: rettenbe Date: Fri, 23 May 2008 09:39:00 +0000 Subject: [PATCH] wrong if-clause git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10989 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/server_server_com.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') { -- 2.30.2