From 465ba8d11bc27dc44407337afff8d4fe12bce955 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sun, 15 Mar 2015 15:03:42 -0400
Subject: [PATCH] Avoid errors when message list doesn't have a header

---
 program/js/app.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index d6c5cd8..1da2a81 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -6728,6 +6728,9 @@
 
     this.env.listcols = listcols;
 
+    if (!this.env.coltypes)
+      this.env.coltypes = {};
+
     // replace old column headers
     if (thead) {
       if (repl) {

--
Gitblit v1.9.1