diff options
author | John McLear <john@mclear.co.uk> | 2014-05-12 15:15:10 +0100 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2014-05-12 15:15:10 +0100 |
commit | a82823ede267490a2afb753cc70f69374be7349b (patch) | |
tree | 57e5f3cfdf011746a8160f934ef3a4214f66b52e /src | |
parent | d09e66e271cde2c80f9a0bcebdea5d5f286ba7a6 (diff) | |
download | etherpad-lite-a82823ede267490a2afb753cc70f69374be7349b.zip |
use full string not first char
Diffstat (limited to 'src')
-rw-r--r-- | src/node/handler/ExportHandler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/handler/ExportHandler.js b/src/node/handler/ExportHandler.js index 11d247d6..d0d8ddaa 100644 --- a/src/node/handler/ExportHandler.js +++ b/src/node/handler/ExportHandler.js @@ -52,7 +52,7 @@ exports.doExport = function(req, res, padId, type) hooks.aCallFirst("exportFileName", padId, function(err, hookFileName){ // if fileName is set then set it to the padId, note that fileName is returned as an array. - if(hookFileName[0]) fileName = hookFileName[0]; + if(hookFileName[0]) fileName = hookFileName; } ); |