From f6c8e2db921f9ebcbc0535c4e25aaa82b3055d3d Mon Sep 17 00:00:00 2001 From: Patrick Bihan-Faou Date: Thu, 27 Mar 2008 07:43:37 +0000 Subject: [PATCH] Identify 'nexthaus corp' just like 'nexthaus corporation' for blackberry users. Fix bug #1478, thanks for the patch. --- addressbook/inc/class.vcaladdressbook.inc.php | 1 + calendar/inc/class.boical.inc.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/addressbook/inc/class.vcaladdressbook.inc.php b/addressbook/inc/class.vcaladdressbook.inc.php index bf1e526c7d..44b5f74559 100644 --- a/addressbook/inc/class.vcaladdressbook.inc.php +++ b/addressbook/inc/class.vcaladdressbook.inc.php @@ -398,6 +398,7 @@ class vcaladdressbook extends bocontacts break; case 'nexthaus corporation': + case 'nexthaus corp': switch(strtolower($_productName)) { case 'syncje outlook edition': diff --git a/calendar/inc/class.boical.inc.php b/calendar/inc/class.boical.inc.php index ceb3fa32d9..4217e951a4 100644 --- a/calendar/inc/class.boical.inc.php +++ b/calendar/inc/class.boical.inc.php @@ -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 }