mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +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 ...
|
// 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;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user