]> git.p6c8.net - selfforum.git/commitdiff
month(): bug fix
authorfox_two <>
Mon, 4 Jun 2001 12:39:04 +0000 (12:39 +0000)
committerfox_two <>
Mon, 4 Jun 2001 12:39:04 +0000 (12:39 +0000)
selfforum-cgi/shared/Posting/_lib.pm

index 93409c7b5972a17f4c2a782ba89c8a542628c08a..fa9ca4bb7125c987a3f18c5a318e735af5f5fc9f 100644 (file)
@@ -733,7 +733,7 @@ sub month($) {
     my @month = (qw(Januar Februar), "M\303\244rz", qw(April Mai Juni Juli August September Oktober November Dezember));
                                      # ^^^^^^^^ - UTF8 #
 
-    return $month[$_[0]];
+    return $month[$_[0]-1];
 }
 
 # ====================================================

patrick-canterino.de