X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/25784c0f4cca98b8d646fb450df866758a531f44..b2f1ca8d9367d38b919afebbdc2e1b7002dc2563:/selfforum-cgi/user/fo_posting.pl diff --git a/selfforum-cgi/user/fo_posting.pl b/selfforum-cgi/user/fo_posting.pl index 3889632..89e0e24 100644 --- a/selfforum-cgi/user/fo_posting.pl +++ b/selfforum-cgi/user/fo_posting.pl @@ -44,12 +44,12 @@ our $assign = $show_posting -> {assign}; our $formmust = $show_posting -> {form} -> {must}; our $formdata = $show_posting -> {form} -> {data}; our $formact = $show_posting -> {form} -> {action}; -our $template = new Template "$Bin/".$show_posting -> {templateFile}; +our $template = new Template $show_posting -> {templateFile}; our $pars = {}; our ($failed, %dparam, $threads, $last_thread, $last_message, $ftid, $fmid, $flocked); -sub forum_filename () {$conf -> {wwwRoot} . $conf -> {files} -> {forum};} -sub message_path () {$conf -> {wwwRoot} . $conf -> {files} -> {messagePath};} +sub forum_filename () {$conf -> {files} -> {forum};} +sub message_path () {$conf -> {files} -> {messagePath};} ################################ @@ -104,7 +104,7 @@ sub check_reply_dupe () { $flocked = 1; - ($threads, $last_thread, $last_message, my $unids) = get_all_threads (forum_filename, 1, 0); + ($threads, $last_thread, $last_message, undef, my $unids) = get_all_threads (forum_filename, 1, 0); ($ftid,$fmid) = split /;/,$dparam{$formdata -> {followUp} -> {name}},2; # Thread existiert nicht