mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-23 03:43:48 +01:00
Fix NPE.
This commit is contained in:
parent
879fa4c926
commit
312f5447b8
@ -132,7 +132,9 @@ public class TransformerController extends BaseController {
|
||||
|
||||
}
|
||||
// IE does not support spaces in the name... As usual ...
|
||||
result.getModelMap().put("filename", filename.replaceAll(" ","_"));
|
||||
if(filename!=null){
|
||||
result.getModelMap().put("filename", filename.replaceAll(" ","_"));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user