diff --git a/UI/WebServerResources/ContactsUI.js b/UI/WebServerResources/ContactsUI.js index 86782e2ae..2f19d008f 100644 --- a/UI/WebServerResources/ContactsUI.js +++ b/UI/WebServerResources/ContactsUI.js @@ -95,8 +95,10 @@ function contactsListCallback(http) { else $(cells[2]).update(); - if (contact["c_o"]) + if (contact["c_o"] && typeof(contact["c_o"]) == "string") $(cells[3]).update(contact["c_o"].escapeHTML()); + else if (contact["c_o"] && typeof(contact["c_o"]) == "object") + $(cells[3]).update(contact["c_o"].join(', ').escapeHTML()); else $(cells[3]).update();