Skip to content

Commit

Permalink
1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ryssbowh committed Jan 18, 2022
1 parent 465580a commit ad3afb0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Web Puzzlers Emails Changelog

## 1.2.4 - 2022-01-18

### Fixed
- Issue with redactor helper (php 7.4)
- Issue with event before prep (php 7.4)

## 1.2.3 - 2022-01-11

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/RedactorHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static function getRedactorSettings(?string $redactorConfigFile): array
* @param string $body
* @return string
*/
public function serializeBody(string $body): string
public static function serializeBody(string $body): string
{
return preg_replace_callback(
'/(href=|src=)([\'"])([^\'"\?#]*)(\?[^\'"\?#]+)?(#[^\'"\?#]+)?(?:#|%23)([\w\\\\]+)\:(\d+)(?:@(\d+))?(\:(?:transform\:)?' . HandleValidator::$handlePattern . ')?\2/',
Expand Down
2 changes: 2 additions & 0 deletions src/services/EmailerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

class EmailerService extends Mailer
{
const EVENT_BEFORE_PREP = 'beforePrep';

public $parentMailer;

/**
Expand Down

0 comments on commit ad3afb0

Please sign in to comment.