mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 13:16:31 +00:00
Fix meta services for recurrences.
This commit is contained in:
@@ -67,8 +67,8 @@ class CategoryUpdateService
|
||||
*/
|
||||
public function update(Category $category, array $data): Category
|
||||
{
|
||||
$oldName = $category->name;
|
||||
if(array_key_exists('name', $data)) {
|
||||
$oldName = $category->name;
|
||||
if (array_key_exists('name', $data)) {
|
||||
$category->name = $data['name'];
|
||||
$category->save();
|
||||
// update triggers and actions
|
||||
|
||||
Reference in New Issue
Block a user