Mail settings tabs are not working when accessed directly from the dashboard

short description

Users cannot access autoresponder and other tabs settings when viewing email settings directly from the dashboard. Clicking on the tab results in a 404 error in the console. Tabs still works if you go to "Email Mailbox" section first, instead of selecting the email account directly from the dashboard. This only affects users, not the admin.

correct behaviour

User should be able to see the tabs for other settings.

environment

  • Server OS: centos
  • Server OS version: CentOS 7.7.1908
  • ISPConfig version: 3.1.15p2

log entries

Console log

POST https://domain.com/dashboard/mail_user_edit.php 404 (Not Found)

inspector details

"Autoresponder" link code when viewed from dashboard

<a href="#" onclick="return ISPConfig.changeTab('autoresponder','dashboard/mail_user_edit.php')">Autoresponder</a>

"Autoresponder" link code when viewed from "Email Mailbox" section

<a href="#" onclick="return ISPConfig.changeTab('autoresponder','mail/mail_user_edit.php')">Autoresponder</a>