]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Multilanguage fix for index.cgi.
authorJan Paul Tuecking <earl@ipfire.org>
Sun, 5 Dec 2010 13:33:47 +0000 (14:33 +0100)
committerJan Paul Tuecking <earl@ipfire.org>
Sun, 5 Dec 2010 13:33:47 +0000 (14:33 +0100)
html/cgi-bin/index.cgi

index 1a428718620990be192369848805b82696d3278c..c07182ec6becf8beaee74343b788d0dc6380a922 100644 (file)
@@ -139,7 +139,7 @@ my $dialButtonDisabled = "disabled='disabled'";
 &Header::openbigbox('', 'center');
 
 # licence agreement
-if ($cgiparams{'ACTION'} eq 'Yes' && $cgiparams{'gpl_accepted'} eq '1') {
+if ($cgiparams{'ACTION'} eq $Lang::tr{'yes'} && $cgiparams{'gpl_accepted'} eq '1') {
        system('touch /var/ipfire/main/gpl_accepted')
 }
 if (`find /var/ipfire/main/gpl_accepted 2>/dev/null`) {