[freeside-commits] branch master updated. 0ff92893b362e053d6620171c333af3ec1a32358
Ivan
ivan at 420.am
Mon Mar 24 12:04:43 PDT 2014
The branch, master has been updated
via 0ff92893b362e053d6620171c333af3ec1a32358 (commit)
from 63720c224b0c21f33f25b66bed80d280a66328a3 (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 0ff92893b362e053d6620171c333af3ec1a32358
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Mar 24 12:04:42 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 41fcd1e..eb609c0 100644
--- a/FS/FS/access_user.pm
+++ b/FS/FS/access_user.pm
@@ -404,7 +404,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