Make maintainers able to delete comments again
This commit is contained in:
@@ -63,7 +63,7 @@ function view_app_comment($ob)
|
||||
echo "</td></tr>\n";
|
||||
|
||||
// delete message button, for admins
|
||||
if (loggedin() && (havepriv("admin") || $_SESSION['current']->is_maintainer($appId,$versionId) ))
|
||||
if (loggedin() && (havepriv("admin") || $_SESSION['current']->is_maintainer($ob->appId,$ob->versionId) ))
|
||||
{
|
||||
echo "<tr>";
|
||||
echo "<td><form method=\"post\" name=\"message\" action=\"".BASE."deletecomment.php\"><input type=submit value='Delete' class=button>\n";
|
||||
|
||||
Reference in New Issue
Block a user