Xenon
Thu 27th Jun '02, 2:19pm
Hi as i found out, there is a bug in the announcement.php since a few versions (don't exactly know since when)
this lines at the beginning of the file produce an empty errormessage:
$getperms=getpermissions($foruminfo[forumid]);
if (!$getperms[canview]) {
eval("standarderror(\"".gettemplate("error_nopermission")."\");");
exit;
}
i think this should be the correct code:
$getperms=getpermissions($foruminfo[forumid]);
if (!$getperms[canview]) {
show_nopermission();
}
hope it is the right place to post this :)
this lines at the beginning of the file produce an empty errormessage:
$getperms=getpermissions($foruminfo[forumid]);
if (!$getperms[canview]) {
eval("standarderror(\"".gettemplate("error_nopermission")."\");");
exit;
}
i think this should be the correct code:
$getperms=getpermissions($foruminfo[forumid]);
if (!$getperms[canview]) {
show_nopermission();
}
hope it is the right place to post this :)