mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Recognize 'nexthaus corp' just like 'nexthaus corporation' for blackberry users.
Fixes tracker #1478, thanks for the patch.
This commit is contained in:
parent
f35e97af13
commit
2b1ee9c0ef
@ -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':
|
||||||
|
@ -942,6 +942,7 @@
|
|||||||
switch(strtolower($_productManufacturer))
|
switch(strtolower($_productManufacturer))
|
||||||
{
|
{
|
||||||
case 'nexthaus corporation':
|
case 'nexthaus corporation':
|
||||||
|
case 'nexthaus corp':
|
||||||
switch(strtolower($_productName))
|
switch(strtolower($_productName))
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
@ -1190,7 +1191,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