From: Michael Tremer Date: Thu, 5 Oct 2017 09:42:04 +0000 (+0100) Subject: captive portal: Correctly initialise an array for 8h timeout X-Git-Tag: v2.19-core115~56 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=bbc69f228db9e050e1b585a1ac09c495d32ef41a;hp=cb40ff6027c8eb06d4f2446c4a606084a39addc0 captive portal: Correctly initialise an array for 8h timeout Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/captive.cgi b/html/cgi-bin/captive.cgi index 2f85b17c2f..92ce453eba 100755 --- a/html/cgi-bin/captive.cgi +++ b/html/cgi-bin/captive.cgi @@ -285,6 +285,7 @@ if ($settings{'AUTH'} eq 'TERMS') { $selected{'SESSION_TIME'} = (); $selected{'SESSION_TIME'}{'0'} = ""; $selected{'SESSION_TIME'}{'3600'} = ""; + $selected{'SESSION_TIME'}{'28800'} = ""; $selected{'SESSION_TIME'}{'86400'} = ""; $selected{'SESSION_TIME'}{'604800'} = ""; $selected{'SESSION_TIME'}{'18144000'} = "";