Skip to content

Firefly III: a personal finances manager

Fix missing variable.

James Cole0bec2ec7c0a4
diff --git a/app/Http/Controllers/Category/IndexController.php b/app/Http/Controllers/Category/IndexController.php
index 3382848bed..64f19cb1e8 100644
--- a/app/Http/Controllers/Category/IndexController.php
+++ b/app/Http/Controllers/Category/IndexController.php
@@ -85,6 +85,6 @@ final class IndexController extends Controller
$categories = new LengthAwarePaginator($collection, $total, $pageSize, $page);
$categories->setPath(route('categories.index'));
- return view('categories.index', ['categories' => $categories]);
+ return view('categories.index', ['categories' => $categories,'page' => $page]);
}
}