]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Template/Posting.pm
added version checks
[selfforum.git] / selfforum-cgi / shared / Template / Posting.pm
index 0ffb6c20550cf5204d97955608ec9a155ff4d0ab..4cae38d2c8754da3ec53e0da2837d9c4cb80f8bc 100644 (file)
@@ -183,7 +183,7 @@ sub print_posting_as_HTML ($$$) {
       close STDOUT;
 
       if ($param->{firsttime}) {
       close STDOUT;
 
       if ($param->{firsttime}) {
-        my $cache = new Posting::Cache ($param->{cachefile});
+        my $cache = new Posting::Cache ($param->{cachepath});
         $cache -> add_view (
           { thread  => $param -> {thread},
             posting => $param -> {posting}
         $cache -> add_view (
           { thread  => $param -> {thread},
             posting => $param -> {posting}

patrick-canterino.de