[PR #1451] [MERGED] fix(other): fix null reference error when smtp account has no mailbox attached. #1526

Closed
opened 2026-02-25 21:38:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/1451
Author: @indridieinarsson
Created: 2/15/2025
Status: Merged
Merged: 2/27/2025
Merged by: @josaphatim

Base: masterHead: issue_1450


📝 Commits (2)

  • 1de360b fix null reference error
  • 1b0101e revert first attempt. Ensure type property is saved to config on account create

📊 Changes

1 file changed (+8 additions, -3 deletions)

View changed files

📝 modules/nux/modules.php (+8 -3)

📄 Description

🍰 Pullrequest

Issue #1450 says it all. For some reason, I have an smtp account with no mailbox attached (I promise I didn't do anything funky with the config, all standard server configs through the web gui). This gives rise to a null reference error in the php code and an endless series of red "server error" warning dialogs in the web page.

Issues

#1450


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/1451 **Author:** [@indridieinarsson](https://github.com/indridieinarsson) **Created:** 2/15/2025 **Status:** ✅ Merged **Merged:** 2/27/2025 **Merged by:** [@josaphatim](https://github.com/josaphatim) **Base:** `master` ← **Head:** `issue_1450` --- ### 📝 Commits (2) - [`1de360b`](https://github.com/cypht-org/cypht/commit/1de360b706f69ece032d244b5e5092a0c9aa1bbe) fix null reference error - [`1b0101e`](https://github.com/cypht-org/cypht/commit/1b0101e9e2d85d8df5c92fea60cca58e08b51673) revert first attempt. Ensure type property is saved to config on account create ### 📊 Changes **1 file changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `modules/nux/modules.php` (+8 -3) </details> ### 📄 Description ## 🍰 Pullrequest Issue #1450 says it all. For some reason, I have an smtp account with no mailbox attached (I promise I didn't do anything funky with the config, all standard server configs through the web gui). This gives rise to a null reference error in the php code and an endless series of red "server error" warning dialogs in the web page. ### Issues #1450 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:38:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1526
No description provided.