Skip to content

Firefly III: a personal finances manager

Update CategoryController.php

James Colea867b60af082
diff --git a/app/Http/Controllers/CategoryController.php b/app/Http/Controllers/CategoryController.php
index ff93171f9e..766ddc2470 100644
--- a/app/Http/Controllers/CategoryController.php
+++ b/app/Http/Controllers/CategoryController.php
@@ -154,6 +154,10 @@ class CategoryController extends Controller
$category = $repository->store($categoryData);
Session::flash('success', 'New category "' . $category->name . '" stored!');
+
+ if (intval(Input::get('create_another')) === 1) {
+ return Redirect::route('categories.create');
+ }
return Redirect::route('categories.index');