projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fa67a1
)
Whups: make sure permissionsFilter() works for Queue Contents block
author
Ben Klang
<ben@alkaloid.net>
Tue, 16 Feb 2010 21:56:53 +0000
(16:56 -0500)
committer
Ben Klang
<ben@alkaloid.net>
Tue, 16 Feb 2010 21:56:53 +0000
(16:56 -0500)
whups/lib/Block/queuecontents.php
patch
|
blob
|
history
diff --git
a/whups/lib/Block/queuecontents.php
b/whups/lib/Block/queuecontents.php
index
8e318dc
..
6f3261c
100644
(file)
--- a/
whups/lib/Block/queuecontents.php
+++ b/
whups/lib/Block/queuecontents.php
@@
-98,7
+98,7
@@
class Horde_Block_Whups_queuecontents extends Horde_Block {
if (empty($this->_params['queue'])) {
return false;
}
- if (!Whups::permissionsFilter(array($this->_params['queue']), 'queue', Horde_Perms::READ)) {
+ if (!Whups::permissionsFilter(array($this->_params['queue']
=> true
), 'queue', Horde_Perms::READ)) {
return false;
}
$queue = $whups_driver->getQueue($this->_params['queue']);