Skip to content

Firefly III: a personal finances manager

Fix #12953

James Colec1d106dde381
diff --git a/app/Http/Requests/RecurrenceFormRequest.php b/app/Http/Requests/RecurrenceFormRequest.php
index b14a6ec2cf..88170a1aeb 100644
--- a/app/Http/Requests/RecurrenceFormRequest.php
+++ b/app/Http/Requests/RecurrenceFormRequest.php
@@ -85,7 +85,7 @@ class RecurrenceFormRequest extends FormRequest
'bill_name' => null,
'category_id' => null,
'category_name' => $this->convertString('category'),
- 'tags' => '' !== $this->convertString('tags') ? explode(',', $this->convertString('tags')) : [],
+ 'tags' => $this->array('tags'),
'piggy_bank_id' => $this->convertInteger('piggy_bank_id'),
'piggy_bank_name' => null,
]],
diff --git a/resources/views/recurring/edit.blade.php b/resources/views/recurring/edit.blade.php
index 3cd7fbdccc..efc2f88c06 100644
--- a/resources/views/recurring/edit.blade.php
+++ b/resources/views/recurring/edit.blade.php
@@ -136,7 +136,7 @@
@endif
{{-- TAGS --}}
- {!! ExpandedForm::multiSelect('tags', $array['transactions'][0]['tags'],null) !!}
+ {!! ExpandedForm::multiSelect('tags', $array['transactions'][0]['tags'],$array['transactions'][0]['tags']) !!}
{{-- RELATE THIS TRANSFER TO A PIGGY BANK --}}
{!! PiggyBankForm::piggyBankList('piggy_bank_id',$array['transactions'][0]['piggy_bank_id']) !!}