use full string not first char
This commit is contained in:
parent
d09e66e271
commit
a82823ede2
|
@ -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;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue