Add check to preprocess file link hook to not run on webforms
This is a bugfix for the hook introduced in !159 (merged). This hook runs when files are uploaded to webforms which was something I didn't consider. My guess is that since files uploaded in webforms are stored privately, the hook isn't able to grab the string like it would with a publicly stored file. This creates an issue with appending (opens in a new window) to the filename. Since this feature isn't necessary in webforms, I've added a check to skip the hook if the user is currently on a webform.
Merge request reports
Activity
Filter activity
assigned to @canini.16
mentioned in commit 72763e13
added Theming label
Please register or sign in to reply