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

Fix bug #1478, thanks for the patch.
This commit is contained in:
Patrick Bihan-Faou 2008-03-27 07:43:37 +00:00
parent bb3e31247a
commit f6c8e2db92
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

@ -941,6 +941,7 @@
switch(strtolower($_productManufacturer))
{
case 'nexthaus corporation':
case 'nexthaus corp':
switch(strtolower($_productName))
{
default:
@ -1189,7 +1190,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
}