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
|
|
@ -420,7 +420,7 @@ sub www_view {
|
|||
if ($constraints ne "") {
|
||||
$constraints = "status='Approved' and ".$constraints;
|
||||
} 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{"thumbnail.label"} = WebGUI::International::get(52,$_[0]->get("namespace"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue