[AppDB] Allow admins to view comments in unmaintained entries
Rosanne DiMesio
dimesio at earthlink.net
Tue May 30 12:00:50 CDT 2017
Needed for comment cleanup in unmaintained entries.
Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
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);
--
2.12.0
More information about the wine-patches
mailing list