From bfe60cfb90ffcae1acef8da096a315dcc839ddff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= <jlehrke@noc.de>
Date: Mon, 7 Jun 2010 15:00:30 +0000
Subject: [PATCH] Impove private contacts issue for foreign addressbooks

---
 addressbook/inc/class.addressbook_vcal.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/addressbook/inc/class.addressbook_vcal.inc.php b/addressbook/inc/class.addressbook_vcal.inc.php
index 9476541d7b..e243cf120e 100644
--- a/addressbook/inc/class.addressbook_vcal.inc.php
+++ b/addressbook/inc/class.addressbook_vcal.inc.php
@@ -187,7 +187,7 @@ class addressbook_vcal extends addressbook_bo
     	}
     	if ($contact['owner'] != $this->user)
     	{
-    		unset($contact['private']);	// only my own contacts may be private!
+    		$contact['private'] = 0;	// foreign contacts are never private!
     	}
     	if ($this->log)
 		{