Revision: 8028 http://sourceforge.net/p/ipcop/svn/8028 Author: eoberlander Date: 2016-01-03 13:21:15 +0000 (Sun, 03 Jan 2016) Log Message: ----------- Add cleanhtml function to day today button test
Modified Paths: -------------- ipcop/trunk/html/cgi-bin/logsystem.cgi Modified: ipcop/trunk/html/cgi-bin/logsystem.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/logsystem.cgi 2016-01-03 11:23:07 UTC (rev 8027) +++ ipcop/trunk/html/cgi-bin/logsystem.cgi 2016-01-03 13:21:15 UTC (rev 8028) @@ -123,7 +123,8 @@ $cgiparams{'MONTH'} = $temp_then[4]; $cgiparams{'DAY'} = $temp_then[3]; } -elsif ($cgiparams{'ACTION'} eq $Lang::tr{'day today'}) { +# There is a comma in FR button string +elsif (&Header::cleanhtml($cgiparams{'ACTION'},"y") eq $Lang::tr{'day today'}) { $cgiparams{'YEAR'} = $now[5]+1900; $cgiparams{'MONTH'} = $now[4]; $cgiparams{'DAY'} = $now[3]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn