Fix timezone controller bad return (#15191)

was returning null when preferences.timezone was not set (not sure how to get to that case)
This commit is contained in:
Tony Murray
2023-08-03 19:31:28 -05:00
committed by GitHub
parent 12f8bb2040
commit fe1b280a99

View File

@@ -46,6 +46,6 @@ class TimezoneController extends Controller
return $request->timezone;
}
return session('preferences.timezone');
return session('preferences.timezone', '');
}
}