Skip to content

Commit de16a54

Browse files
committed
mail generators fix typo in method name
1 parent 5491a7b commit de16a54

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.env
55
*.sublime-project
66
*.sublime-workspace
7-
.history
7+
.metadata
88

99
docker-compose.override.yml
1010
.yarn-error.log

Mailer/app/models/Generators/MMSGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function process($values)
109109
'/(<hr>|<hr \/>)/is' => $hrTemplate,
110110

111111
// parse embedds
112-
'/^\s*(http|https)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?\s*$/im' => array($this, "parseEmbedd"),
112+
'/^\s*(http|https)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?\s*$/im' => array($this, "parseEmbed"),
113113

114114
// remove br from inside of a
115115
'/<a.*?\/a>/is' => function ($matches) {
@@ -322,7 +322,7 @@ public function getLockedHtml($html, $link)
322322
return $html;
323323
}
324324

325-
public function parseEmbedd($matches)
325+
public function parseEmbed($matches)
326326
{
327327
$link = trim($matches[0]);
328328

Mailer/app/models/Generators/MediaBriefingGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function process($values)
108108
'/(<hr>|<hr \/>)/is' => $hrTemplate,
109109

110110
// parse embedds
111-
'/^\s*(http|https)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?\s*$/im' => array($this, "parseEmbedd"),
111+
'/^\s*(http|https)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?\s*$/im' => array($this, "parseEmbed"),
112112

113113
// remove br from inside of a
114114
'/<a.*?\/a>/is' => function ($matches) {
@@ -322,7 +322,7 @@ public function getLockedHtml($html)
322322
return $html;
323323
}
324324

325-
public function parseEmbedd($matches)
325+
public function parseEmbed($matches)
326326
{
327327
$link = trim($matches[0]);
328328

Mailer/app/models/Generators/NewsfilterGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function process($values)
110110
'/(<hr>|<hr \/>)/is' => $hrTemplate,
111111

112112
// parse embedds
113-
'/^\s*(http|https)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?\s*$/im' => array($this, "parseEmbedd"),
113+
'/^\s*(http|https)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?\s*$/im' => array($this, "parseEmbed"),
114114

115115
// remove br from inside of a
116116
'/<a.*?\/a>/is' => function ($matches) {
@@ -293,7 +293,7 @@ public function preprocessParameters($data)
293293
return $output;
294294
}
295295

296-
public function parseEmbedd($matches)
296+
public function parseEmbed($matches)
297297
{
298298
$link = trim($matches[0]);
299299

0 commit comments

Comments
 (0)