Fix the PHP Docker image

This commit is contained in:
Nabeel Shahzad
2019-05-10 19:46:50 -05:00
parent 4dd3fc5244
commit 099600cf4c
2 changed files with 13 additions and 9 deletions

View File

@@ -29,6 +29,11 @@ class HomeController extends Controller
return view('system/errors/not_installed');
}
// No users
if (!$users) {
return view('system/errors/not_installed');
}
return view('home', [
'users' => $users,
]);