Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: error PHP message: PHP Fatal error: Uncaught Error: Attempt to assign property "body" on null #81

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

dallaslu
Copy link
Contributor

@dallaslu dallaslu commented Jul 4, 2024

What does this implement/fix? Explain your changes.

Fix a PHP Fatal error

Any relevant logs, error output, etc?

PHP message: PHP Fatal error:  Uncaught Error: Attempt to assign property "body" on null in /usr/local/lib/z-push/include/mimeDecode.php:407

Where has this been tested?

Server (please complete the following information):

  • OS: Ubuntu
  • PHP Version: 8.2
  • Backend for: Mail-in-a-Box
  • Version: v68

Smartphone (please complete the following information):

  • Device: iPhone 8
  • OS: iOS 17.1
  • Mail App: Apple Mail

fix: error `PHP message: PHP Fatal error:  Uncaught Error: Attempt to assign property "body" on null`
@matidau
Copy link
Collaborator

matidau commented Jul 4, 2024

Hi @dallaslu

Thanks for the PR, it is greatly appreciated. I've tested this and am happy to merge it. Just need you to release it under the AGPLv3 as a first time contributor with the words (or similar):

Released under the GNU Affero General Public License (AGPL), version 3

Cheers,
Mat

@dallaslu
Copy link
Contributor Author

dallaslu commented Jul 4, 2024

Released under the GNU Affero General Public License (AGPL), version 3

@matidau matidau merged commit e68d367 into Z-Hub:develop Jul 4, 2024
2 checks passed
matidau added a commit to matidau/Z-Push that referenced this pull request Aug 8, 2024
fix: error `PHP message: PHP Fatal error:  Uncaught Error: Attempt to assign property "body" on null`
matidau added a commit that referenced this pull request Aug 8, 2024
fix: error `PHP message: PHP Fatal error:  Uncaught Error: Attempt to assign property "body" on null`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants