bugfix [ 699010 ] Need Approval option to Discussions like in USS
This commit is contained in:
parent
2d6ff4f7a4
commit
4e708db99c
2 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
- Fixed a typo in the Forum Threads that caused an error upon deleting a
|
- Fixed a typo in the Forum Threads that caused an error upon deleting a
|
||||||
post.
|
post.
|
||||||
- Bugfix [ 847198 ] no final newline when data form errors display
|
- Bugfix [ 847198 ] no final newline when data form errors display
|
||||||
|
- Bugfix [ 699010 ] Need Approval option to Discussions like in USS
|
||||||
|
|
||||||
|
|
||||||
5.5.2
|
5.5.2
|
||||||
|
|
|
||||||
|
|
@ -420,7 +420,7 @@ sub www_view {
|
||||||
if ($constraints ne "") {
|
if ($constraints ne "") {
|
||||||
$constraints = "status='Approved' and ".$constraints;
|
$constraints = "status='Approved' and ".$constraints;
|
||||||
} else {
|
} else {
|
||||||
$constraints = "(status='Approved' or userId=$session{user}{userId})";
|
$constraints = "(status='Approved' or (userId=$session{user}{userId} and userId<>1))";
|
||||||
}
|
}
|
||||||
$var{"title.label"} = WebGUI::International::get(99);
|
$var{"title.label"} = WebGUI::International::get(99);
|
||||||
$var{"thumbnail.label"} = WebGUI::International::get(52,$_[0]->get("namespace"));
|
$var{"thumbnail.label"} = WebGUI::International::get(52,$_[0]->get("namespace"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue