Tiny fixes in API

This commit is contained in:
James Cole
2022-02-23 06:33:27 +01:00
parent 472c1a0c37
commit 8c9bb3addb
5 changed files with 19 additions and 16 deletions

View File

@@ -303,7 +303,7 @@ class RecurrenceUpdateService
$this->setCategory($match, (int)$current['category_id']);
}
if (array_key_exists('tags', $current)) {
if (array_key_exists('tags', $current) && is_array($current['tags'])) {
$this->updateTags($match, $current['tags']);
}
if (array_key_exists('piggy_bank_id', $current)) {