From fd65ef6e6cc2aaa03eba301fb2a2547d9b50d119 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Fri, 10 Jun 2022 08:42:37 -0400 Subject: [PATCH] show selected timezone --- scripts/config.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/config.php b/scripts/config.php index 0747362..0ed2036 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -284,11 +284,16 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken} Select a timezone ".$timezone_identifiers[$i].""; + $isSelected = ""; + if($timezone_identifiers[$i] == $current_timezone) { + $isSelected = 'selected="selected"'; + } + echo ""; } ?>