summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2015-03-15 20:03:35 +0100
committerThomas Bruederli <thomas@roundcube.net>2015-03-15 20:03:42 +0100
commit465ba8d11bc27dc44407337afff8d4fe12bce955 (patch)
treeeac78e0385fcea5c730764c6ddda690b4acdb23b
parent8eeb721bd69e602137d93b0dfecc33752b078679 (diff)
Avoid errors when message list doesn't have a header
-rw-r--r--program/js/app.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index d6c5cd8aa..1da2a8173 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -6728,6 +6728,9 @@ function rcube_webmail()
this.env.listcols = listcols;
+ if (!this.env.coltypes)
+ this.env.coltypes = {};
+
// replace old column headers
if (thead) {
if (repl) {