From cb2a1f197151349e1a37b3a945ab941d2b8dc8ce Mon Sep 17 00:00:00 2001 From: Paul van Schayck Date: Mon, 10 Jan 2005 22:25:14 +0000 Subject: [PATCH] Make maintainers able to delete comments again --- include/comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/comments.php b/include/comments.php index 9ad9134..c67d7c3 100644 --- a/include/comments.php +++ b/include/comments.php @@ -63,7 +63,7 @@ function view_app_comment($ob) echo "\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 ""; echo "
\n";