forked from extern/egroupware
Identify 'nexthaus corp' just like 'nexthaus corporation' for blackberry users.
Fix bug #1478, thanks for the patch.
This commit is contained in:
parent
bb3e31247a
commit
f6c8e2db92
@ -398,6 +398,7 @@ class vcaladdressbook extends bocontacts
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'nexthaus corporation':
|
case 'nexthaus corporation':
|
||||||
|
case 'nexthaus corp':
|
||||||
switch(strtolower($_productName))
|
switch(strtolower($_productName))
|
||||||
{
|
{
|
||||||
case 'syncje outlook edition':
|
case 'syncje outlook edition':
|
||||||
|
@ -941,6 +941,7 @@
|
|||||||
switch(strtolower($_productManufacturer))
|
switch(strtolower($_productManufacturer))
|
||||||
{
|
{
|
||||||
case 'nexthaus corporation':
|
case 'nexthaus corporation':
|
||||||
|
case 'nexthaus corp':
|
||||||
switch(strtolower($_productName))
|
switch(strtolower($_productName))
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
@ -1189,7 +1190,8 @@
|
|||||||
$vcardData['non_blocking'] = $attributes['value'] == 'TRANSPARENT';
|
$vcardData['non_blocking'] = $attributes['value'] == 'TRANSPARENT';
|
||||||
break;
|
break;
|
||||||
case 'PRIORITY':
|
case 'PRIORITY':
|
||||||
if ($this->productManufacturer == 'nexthaus corporation')
|
if ($this->productManufacturer == 'nexthaus corporation'
|
||||||
|
|| $this->productManufacturer == 'nexthaus corp')
|
||||||
{
|
{
|
||||||
$vcardData['priority'] = $attributes['value'] == 1 ? 3 : 2; // 1=high, 2=normal
|
$vcardData['priority'] = $attributes['value'] == 1 ? 3 : 2; // 1=high, 2=normal
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user