Dolphiq / craft-plugin-redirect

Craft 3 redirect plugin provides an easy way to enter and maintain 301 and 302 redirects and 404 pages. The plugin provides a clear user interface for admin and non-admin users.
MIT License
54 stars 34 forks source link

Hard-Coded Table Name Causing Error #23

Closed mzlock closed 6 years ago

mzlock commented 6 years ago

https://github.com/Dolphiq/craft3-plugin-redirect/blob/master/src/services/Redirects.php#L107

This should be: {{%dolphiq_redirects}}

Right now it's looking for the table dolphiq_redirects specifically without considering table prefix settings. This causes an Internal Server Error because it can't find the table.

johanzandstra commented 6 years ago

Thanks!, we will change this in the next release

johanzandstra commented 6 years ago

24 just fixed it, thanks again