mirror of
https://github.com/HaschekSolutions/opentrashmail.git
synced 2026-04-25 06:35:55 +03:00
[PR #34] [MERGED] "Fix" admin email not working correctly #93
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentrashmail#93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/HaschekSolutions/opentrashmail/pull/34
Author: @manfromafar
Created: 11/29/2021
Status: ✅ Merged
Merged: 11/30/2021
Merged by: @geek-at
Base:
master← Head:master📝 Commits (2)
3d072d2Update api.phpdace8a0Update api.php📊 Changes
1 file changed (+7 additions, -2 deletions)
View changed files
📝
web/api.php(+7 -2)📄 Description
Admin email setting in config was not working as intended.
Applied quick hack to get setting working again.
Culprit appears that the $email is overwritten when the check for empty var happens.
This causes the admin check to fail no matter what.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.