forked from extern/egroupware
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:
parent
16cb2097fc
commit
68ba92e1b9
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user