geoip-functions.pl: Fix typos and formatting
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Nov 2017 22:32:03 +0000 (22:32 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Nov 2017 22:37:03 +0000 (22:37 +0000)
Reviewed-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/geoip-functions.pl

index fc2dfdd..623169e 100644 (file)
@@ -63,10 +63,10 @@ sub get_flag_icon($) {
                # the icon for "unknown".
                my $ccode = "unknown";
 
-               # Redoing all the stuff from abouve for the "unknown" icon.
-               my $file = join('.', $ccode,$ext);
-               my $flag_icon = join('/', $flagdir,$file);
-               my $absolute_path = join('', $webroot,$flag_icon);
+               # Redoing all the stuff from above for the "unknown" icon.
+               my $file = join('.', $ccode, $ext);
+               my $flag_icon = join('/', $flagdir, $file);
+               my $absolute_path = join('', $webroot, $flag_icon);
 
                # Check if the icon is present.
                if (-e "$absolute_path") {