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 ...
|
// IE does not support spaces in the name... As usual ...
|
||||||
|
if(filename!=null){
|
||||||
result.getModelMap().put("filename", filename.replaceAll(" ","_"));
|
result.getModelMap().put("filename", filename.replaceAll(" ","_"));
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue