https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af3e460
)
r133: If the user has the CANEDITATTACH flag set, then he or she can download attachm...
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 14 May 2005 21:02:05 +0000
(21:02 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 14 May 2005 21:02:05 +0000
(21:02 +0000)
viewattachment.php
patch
|
blob
|
history
diff --git
a/viewattachment.php
b/viewattachment.php
index ffac1df9ca2724605a8a08f7d21c6345e77d18df..0a6d1d6cb28f0c97af924157c35bb6e4bb8b79ed 100755
(executable)
--- a/
viewattachment.php
+++ b/
viewattachment.php
@@
-21,7
+21,7
@@
if (!$attachment)
exit;
}
-if (!can_perform('cangetattach'))
+if (!can_perform('cangetattach')
OR !can_perform('caneditattach')
)
{
echo 'alert: no permission';
exit;