From 82455c87a6a0826de4c0c709de9196698fe80b90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Mon, 7 Jun 2010 12:50:17 +0000 Subject: [PATCH] Newer Nokia E-Series SyncML supported fields default --- calendar/inc/class.calendar_ical.inc.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index e3e01df079..afc330ef31 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -1995,8 +1995,17 @@ class calendar_ical extends calendar_boupdate $this->supportedFields = $defaultFields['s60']; break; default: - error_log("Unknown Nokia phone '$_productName', assuming E61"); - $this->supportedFields = $defaultFields['minimal']; + if ($this->productName[0] == 'e') + { + $model = 'E90'; + $this->supportedFields = $defaultFields['s60']; + } + else + { + $model = 'E61'; + $this->supportedFields = $defaultFields['minimal']; + } + error_log("Unknown Nokia phone '$_productName', assuming same as '$model'"); break; } break;