Only set a default enter sound on the add page.

This commit is contained in:
Mark Crane
2012-10-09 22:31:26 +00:00
parent e091cc253f
commit b2ea5735b3

View File

@@ -322,7 +322,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (strlen($max_members) == 0) { $max_members = 0; }
if (strlen($wait_mod) == 0) { $wait_mod = 'false'; }
if (strlen($announce) == 0) { $announce = 'true'; }
if (strlen($enter_sound) == 0) { $enter_sound = 'tone_stream://%(200,0,500,600,700)'; }
if ($action == "add") {
if (strlen($enter_sound) == 0) { $enter_sound = 'tone_stream://%(200,0,500,600,700)'; }
}
if (strlen($mute) == 0) { $mute = 'false'; }
if (strlen($enabled) == 0) { $enabled = 'true'; }