Skip to content

Commit 67006de

Browse files
fix
1 parent 05ddcc1 commit 67006de

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

app/Services/NewsletterService.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ class NewsletterService
1212
public static function subscribe(string $email, ?string $name = null)
1313
{
1414
$mergeFields = [];
15-
if (filled($name))
16-
{
15+
if (filled($name)) {
1716
$mergeFields = [
1817
'MERGE1' => $name,
1918
];
20-
2119
}
2220
$response = rescue(
2321
fn () => Newsletter::subscribe($email, $mergeFields),
@@ -32,7 +30,6 @@ public static function subscribe(string $email, ?string $name = null)
3230
]);
3331

3432
// TODO: check if email registered as user
35-
3633
}
3734

3835
return $response;

resources/js/Pages/AdminOng/Projects/EditProject.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@
538538
:label="$t('external_links_title')"
539539
>
540540
<RepeaterComponent
541-
:elements="originalProject.external_links"
541+
:elements="project.external_links"
542542
name="external_links"
543543
:structure="[
544544
{

0 commit comments

Comments
 (0)