Index: /branches/devel-api/program/js/app.js
===================================================================
--- /branches/devel-api/program/js/app.js	(revision 2260)
+++ /branches/devel-api/program/js/app.js	(revision 2261)
@@ -2736,16 +2736,16 @@
   // update a contact record in the list
   this.update_contact_row = function(cid, cols_arr)
-    {
+  {
     var row;
-    if (this.contact_list.rows[cid] && (row = this.contact_list.rows[cid].obj))
-      {
+    if (this.contact_list.rows[cid] && (row = this.contact_list.rows[cid].obj)) {
       for (var c=0; c<cols_arr.length; c++)
-        $(row.cells[c]).html(cols_arr[c]);
+        if (row.cells[c])
+          $(row.cells[c]).html(cols_arr[c]);
 
       return true;
-      }
+    }
 
     return false;
-    };
+  };
 
 
