[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 3438e7d6bea0f7917db89d678d553694094cc599
Ivan
ivan at 420.am
Mon Mar 24 12:04:47 PDT 2014
The branch, FREESIDE_2_3_BRANCH has been updated
via 3438e7d6bea0f7917db89d678d553694094cc599 (commit)
from 1aa2f26487209054ed82f38130c73015635b5705 (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 3438e7d6bea0f7917db89d678d553694094cc599
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Mar 24 12:04:46 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 08021ba..5b2cad8 100644
--- a/FS/FS/access_user.pm
+++ b/FS/FS/access_user.pm
@@ -454,7 +454,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