diff --git a/web/root/msgs/subs.ssjs b/web/root/msgs/subs.ssjs index 28945f235e6bc95900fc9d17eb23dc7554498237..7fc82e0f7d3211ed19115ee543a4bda4bc6511cc 100644 --- a/web/root/msgs/subs.ssjs +++ b/web/root/msgs/subs.ssjs @@ -28,6 +28,11 @@ else { template.showall_toggle+='Yes">'+showall_subs_enable_html; template.showall_toggle+=''; } +if(!msg_area.grp[grp]) { + http_reply.status="404 Not Found"; + write("404 ErrorMessage group " + grp + " does not exist"); + exit(); +} template.title="Message Subs in Group: "+msg_area.grp[grp].description; if(do_header)