From bf720f2f304c3137300d181e2436764960482266 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 25 Oct 2018 10:35:39 +0200 Subject: [PATCH] Fix export with old polls --- www/poll/export.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/poll/export.js b/www/poll/export.js index d4b6bbf1b..2b915cced 100644 --- a/www/poll/export.js +++ b/www/poll/export.js @@ -59,7 +59,7 @@ define([ return res; }; module.main = function (userDoc, cb) { - var content = userDoc.content; + var content = userDoc.content || userDoc.table; var csv; try { csv = module.getCSV(content);