From 497d319f0069eea18d46fea9c3fbc18f9da96fbd Mon Sep 17 00:00:00 2001 From: DevelArt IV Date: Thu, 24 Aug 2023 12:30:43 +0200 Subject: [PATCH 1/2] Sendmail transport - wrong comparison fix --- library/Zend/Mail/Transport/Sendmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Zend/Mail/Transport/Sendmail.php b/library/Zend/Mail/Transport/Sendmail.php index d2a78a8d05..efc6702440 100644 --- a/library/Zend/Mail/Transport/Sendmail.php +++ b/library/Zend/Mail/Transport/Sendmail.php @@ -138,7 +138,7 @@ public function _sendMail() // Sanitize the From header // https://github.com/Shardj/zf1-future/issues/326 - if ( empty($fromEmailHeader) === FALSE ) { // nothing to worry about + if ( empty($fromEmailHeader) === TRUE ) { // nothing to worry about goto processMail; } From 97b188e8a5fd82dbe226b43de90ccca08d7c370f Mon Sep 17 00:00:00 2001 From: DevelArt IV Date: Thu, 24 Aug 2023 12:33:07 +0200 Subject: [PATCH 2/2] version bump --- CHANGELOG.md | 4 ++++ composer.json | 2 +- library/Zend/Version.php | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index daf40f4d9a..95ac4fb6c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.23.4] - 2023-08-24 +### Fixed +- corrected Zend Mail sendmail transport comparison + ## [1.23.3] - 2023-08-23 ### Added - Enabled testing of APCU for all PHP versions when running with all extensions enabled by @boenrobot in https://github.com/Shardj/zf1-future/pull/363 diff --git a/composer.json b/composer.json index f1b6743005..8993a464e9 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "shardj/zf1-future", "description": "Zend Framework 1. The aim is to keep ZF1 working with the latest PHP versions", "type": "library", - "version": "1.23.3", + "version": "1.23.4", "keywords": [ "framework", "zf1" diff --git a/library/Zend/Version.php b/library/Zend/Version.php index 3333a5c36c..32455518ed 100644 --- a/library/Zend/Version.php +++ b/library/Zend/Version.php @@ -32,7 +32,7 @@ final class Zend_Version /** * Zend Framework version identification - see compareVersion() */ - const VERSION = '1.23.3'; + const VERSION = '1.23.4'; /** * The latest stable version Zend Framework available