diff --git a/Rocksolid_Light/rocksolid/post.php b/Rocksolid_Light/rocksolid/post.php index 662dd18..a9f15ed 100644 --- a/Rocksolid_Light/rocksolid/post.php +++ b/Rocksolid_Light/rocksolid/post.php @@ -367,9 +367,22 @@ if ($show == 1) { echo $text_post["followup_not_allowed"]; echo " " . $newsgroups; } else { + // check that we can post to the newsgroup + $ngroups = preg_split("/[\s,]+/", $newsgroups); + $found = false; + foreach ($ngroups as $group) { + if(get_section_by_group($group)) { + $found = true; + break; + } + } // show post form $fieldencrypt = md5(rand(1, 10000000)); - echo '
$error
"; @@ -390,7 +403,11 @@ if ($show == 1) { echo '