Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rendering static images when checking answers in the PG problem e…
…ditor. This fixes issue openwebwork#2556 essentially as @somiaj suggests (although there is no need to first check that `$rh->{fileName}` is defined). The reason that `$rh->{fileName}` is defined is because the `default.html.ep` template always adds the `fileName` hidden field even when the `fileName` parameter is not defined in the original request. So if you click "Check Answers" it will be defined in `RenderProblem.pm` on that request.
- Loading branch information