Module: appdb Branch: master Commit: 1868edfb61cda174f9c3a364ab1071d8ebf6a081 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=1868edfb61cda174f9c3a364a...
Author: Rosanne DiMesio dimesio@earthlink.net Date: Tue May 30 12:00:50 2017 -0500
Allow admins to view comments in unmaintained entries
Needed for comment cleanup in unmaintained entries.
Signed-off-by: Rosanne DiMesio dimesio@earthlink.net Signed-off-by: Jeremy Newman jnewman@codeweavers.com
---
include/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/version.php b/include/version.php index 45459fd..2c09be7 100644 --- a/include/version.php +++ b/include/version.php @@ -1164,7 +1164,7 @@ EOT;
// Comments Section echo "<h2 id="viewComments" class="whq-app-title">Comments</h2>\n"; - if(sizeof($aMaintainers)>0) + if((sizeof($aMaintainers)>0) || ($_SESSION['current']->hasPriv("admin"))) { if($this->iVersionId) Comment::view_app_comments($this->iVersionId);