Fix a bug that was introduced by the previous bug :-)
authorSteinar H. Gunderson <sesse@debian.org>
Sun, 29 Jul 2007 16:50:00 +0000 (18:50 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Sun, 29 Jul 2007 16:50:00 +0000 (18:50 +0200)
perl/Sesse/pr0n/Index.pm

index 239c4b9d8f612a3ff753ecad0de0802907aee66b..d070ba157f7298393c365b414fda965075cd3197 100644 (file)
@@ -355,7 +355,7 @@ sub handler {
                                my $url = "/$event/" . Sesse::pr0n::Common::get_query_string(\%newsettings, \%defsettings);
                                
                                $r->print("    <h2>");
-                               Sesse::pr0n::Templates::print_template($r, "submittedby", { author => $lastupl, action => $action, filterurl => $url, date => $day });
+                               Sesse::pr0n::Templates::print_template($r, "submittedby", { author => $takenby, action => $action, filterurl => $url, date => $day });
                                print_fullscreen_fromhere($r, $event, \%settings, \%defsettings, $img_num);
                                $r->print("</h2>\n");