X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/d8a1fb31ed6883aef6a7ba78a117269218966a10..4b009585d72cb50762e6cbea18f2b79ff92278db:/selfforum-cgi/shared/Posting/Handle.pm?ds=sidebyside diff --git a/selfforum-cgi/shared/Posting/Handle.pm b/selfforum-cgi/shared/Posting/Handle.pm index 9d2a94a..246f4e7 100644 --- a/selfforum-cgi/shared/Posting/Handle.pm +++ b/selfforum-cgi/shared/Posting/Handle.pm @@ -60,7 +60,8 @@ sub hide_posting($$$) 'lastMessage' => $lmsg, 'lastThread' => $lthread ); - create_forum_xml_string($f, \%cfxs); + my $xmlstring = create_forum_xml_string($f, \%cfxs); + save_file($forum, $$xmlstring); } ### recover_posting() ########################################################## @@ -101,7 +102,8 @@ sub recover_posting($$$) 'lastMessage' => $lmsg, 'lastThread' => $lthread ); - create_forum_xml_string($f, \%cfxs); + my $xmlstring = create_forum_xml_string($f, \%cfxs); + save_file($forum, $$xmlstring); } ### change_posting_visibility () ###############################################