From 9a9ffcfdaf33ff262b96f9cd09a2609406581e3a Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sat, 2 Sep 2023 18:26:14 +0200 Subject: [PATCH] Hide arrival hint if signup does not require arrival --- includes/view/User_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/view/User_view.php b/includes/view/User_view.php index 83421e9a..97ea6c0c 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -936,7 +936,7 @@ function render_user_freeloader_hint() */ function render_user_arrived_hint() { - if (!auth()->user()->state->arrived) { + if (config('signup_requires_arrival') && !auth()->user()->state->arrived) { /** @var Carbon $buildup */ $buildup = config('buildup_start'); if (!empty($buildup) && $buildup->lessThan(new Carbon())) {