mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Update ExportHandler.js
This commit is contained in:
parent
a82823ede2
commit
c63cb812e8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
if(hookFileName) fileName = hookFileName;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue