Recognize 'nexthaus corp' just like 'nexthaus corporation' for blackberry users.

Fixes tracker #1478, thanks for the patch.
This commit is contained in:
Patrick Bihan-Faou 2008-03-27 07:50:35 +00:00
parent f35e97af13
commit 2b1ee9c0ef
2 changed files with 4 additions and 1 deletions

View File

@ -398,6 +398,7 @@ class vcaladdressbook extends bocontacts
break;
case 'nexthaus corporation':
case 'nexthaus corp':
switch(strtolower($_productName))
{
case 'syncje outlook edition':

View File

@ -942,6 +942,7 @@
switch(strtolower($_productManufacturer))
{
case 'nexthaus corporation':
case 'nexthaus corp':
switch(strtolower($_productName))
{
default:
@ -1190,7 +1191,8 @@
$vcardData['non_blocking'] = $attributes['value'] == 'TRANSPARENT';
break;
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
}