Some clients do not use uppercase charaters to name PRIVATE/PUBLIC class.

To be more fault tolerant change line 687 of trunk/addressbook/inc/class.addressbook_vcal.inc.php
this was pointed out by Philip Herbert. Carl Knauber Holding GmbH & Co KG
This commit is contained in:
Klaus Leithoff 2008-08-04 08:24:34 +00:00
parent 16cb2097fc
commit 68ba92e1b9

View File

@ -684,7 +684,7 @@ class addressbook_vcal extends addressbook_bo
break;
case 'private':
$contact[$fieldName] = (int) ($value == 'PRIVATE');
$contact[$fieldName] = (int) ( strtoupper($value) == 'PRIVATE');
break;
case 'cat_id':