Fix NPE.
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