From 3aad2acf3a43541d4c33c4bff9c902e9ef2ea87a Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 10 Oct 2005 22:36:55 +0000 Subject: [PATCH] r536: If you can't view an attachment, then you can't --- viewattachment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewattachment.php b/viewattachment.php index 44b30aa..23498cc 100755 --- a/viewattachment.php +++ b/viewattachment.php @@ -30,7 +30,7 @@ if (($bug['hidden'] AND !can_perform('canviewhidden', $bug['productid'])) OR !ca $message->error_permission(); } -if (!can_perform('cangetattach', $bug['productid']) AND !can_perform('caneditattach', $bug['productid'])) +if (!can_perform('cangetattach', $bug['productid'])) { $message->error_permission(); } -- 2.43.5