mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-16 09:51:16 +00:00
Fix nullpointers.
This commit is contained in:
@@ -220,7 +220,7 @@ class LoginController extends Controller
|
||||
*
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public function showLoginForm(?Request $request = null)
|
||||
public function showLoginForm(Request $request)
|
||||
{
|
||||
Log::channel('audit')->info('Show login form (1.1).');
|
||||
|
||||
|
@@ -175,7 +175,7 @@ class RegisterController extends Controller
|
||||
*
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public function showRegistrationForm(?Request $request = null)
|
||||
public function showRegistrationForm(Request $request)
|
||||
{
|
||||
$isDemoSite = app('fireflyconfig')->get('is_demo_site', config('firefly.configuration.is_demo_site'))->data;
|
||||
$pageTitle = (string) trans('firefly.register_page_title');
|
||||
|
@@ -15,10 +15,10 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="{{ activeRoutePartial('bills') }}">
|
||||
<li class="{{ activeRoutePartial('subscriptions') }}">
|
||||
<a href="{{ route('subscriptions.index') }}">
|
||||
<em class="fa fa-calendar-o fa-fw"></em>
|
||||
<span>{{ 'bills'|_ }}</span>
|
||||
<span>{{ 'subscriptions'|_ }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
Reference in New Issue
Block a user