summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/chrome/content/synckolab/calendarTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chrome/content/synckolab/calendarTools.js b/src/chrome/content/synckolab/calendarTools.js
index 51fd542..1d33b17 100644
--- a/src/chrome/content/synckolab/calendarTools.js
+++ b/src/chrome/content/synckolab/calendarTools.js
@@ -921,7 +921,7 @@ synckolab.calendarTools.json2event = function (jobj, calendar) {
if (!event.setCategories) {
this.setKolabItemProperty(event, "CATEGORIES", jobj.categories);
}
- else {
+ else if(typeof categoriesStringToArray !== "undefined"){
// from calUtils.js
var categories = categoriesStringToArray(jobj.categories);
event.setCategories(categories.length, categories);