Notification emails are sent to the admin instead of the Category owner
Describe the bug If a category's "Group permissions" are set to "Access for all groups", a notification email is sent to the category owner when a question is added. However, if "Group permissions" are set to "Restricted access to", the notification email is sent to the admin.
Expected behavior Notification emails should always be sent to the category owner.
phpMyFAQ (please complete the following information):
- phpMyFAQ version: 4.0.8
- PHP version: 8.3.21
- Database: MySQL
- Elasticsearch: no
Desktop (please complete the following information):
- OS: Windows11
- Browser: Firefox
- Version: 138.0.4
Short note: The admin will always get the email but nevertheless the issue mentioned above is a bug.
It works for me:
From the admin category view:
When you select "Zugriff nur für", does the category owner receive a notification email?
@kto2038 There's no logic that it should avoid sending mails to the category owner
No feedback -> closed