[freeside-commits] branch FREESIDE_3_BRANCH updated. 009ee637a38d8bb9e5378a59b47f05493c7078b6
Ivan
ivan at 420.am
Mon Mar 24 12:04:45 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via 009ee637a38d8bb9e5378a59b47f05493c7078b6 (commit)
from 25b8fb6744a33242aac596c6137632165822e96f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 009ee637a38d8bb9e5378a59b47f05493c7078b6
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Mar 24 12:04:43 2014 -0700
fix ACL cache bug, RT#27352, fallout from RT#4696
diff --git a/FS/FS/access_user.pm b/FS/FS/access_user.pm
index 33db1fb..05d87c3 100644
--- a/FS/FS/access_user.pm
+++ b/FS/FS/access_user.pm
@@ -469,7 +469,7 @@ sub access_right {
unless ( grep !exists($self->{_ACLcache}{$_}), @$rightname ) {
warn "$me ACL cache hit for ". join(', ', @$rightname). "\n"
if $DEBUG;
- return grep $self->{_ACLcache}{$_}, @$rightname
+ return scalar( grep $self->{_ACLcache}{$_}, @$rightname );
}
warn "$me ACL cache miss for ". join(', ', @$rightname). "\n"
-----------------------------------------------------------------------
Summary of changes:
FS/FS/access_user.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list