willianmano / moodle-theme_moove

A Moodle Boost child theme
GNU General Public License v3.0
177 stars 155 forks source link

Email used in the support form called from the theme footer, is not the supportemail but the admin email #438

Closed kordan closed 1 year ago

kordan commented 1 year ago

Describe the bug Using the button "Contact site support" from the footer of the theme (when enabled, of course) I arrive to a form where the used email is not the supportemail but admin email.

To Reproduce Steps to reproduce the behavior:

  1. Write a dummy email to $CFG->supportemail
  2. Go to the footer of the theme page
  3. Click on "Contact site support" button
  4. Compare the email in the form with $CFG->supportemail.

Expected behavior The expectation is to have $CFG->supportemail in the form and not the admin email.

Your environment (please complete the following information):

willianmano commented 1 year ago

@kordan The email present on the form is the email of the user who is submitting it.