projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
f041c3f
)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 31 Dec 2014 03:20:08 +0000
(19:20 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 31 Dec 2014 03:20:08 +0000
(19:20 -0800)
FS/FS/Record.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
10b1cf6
..
765880e
100644
(file)
--- a/
FS/FS/Record.pm
+++ b/
FS/FS/Record.pm
@@
-3133,12
+3133,12
@@
sub ut_agentnum_acl {
if ( $self->$field() ) {
- return
"Access denied"
+ return
'Access denied to agent '. $self->$field()
unless $curuser->agentnum($self->$field());
} else {
- return
"Access denied"
+ return
'Access denied to global'
unless grep $curuser->access_right($_), @$null_acl;
}
@@
-3161,7
+3161,7
@@
sub fields {
$table = $something->table;
} else {
$table = $something;
- $something = "FS::$table";
+
#
$something = "FS::$table";
}
return (real_fields($table));
}