Issue PDF export variable usage
This doesn't actually break anything on the web frontend, but can break when using the issue PDF export from elsewhere than the controller. Anyway, there's an
@issue floating in a function using
issue, the attached patch fixes that.