projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
748dfad
)
Merge branch 'fozzmoo-20150325-cust_main-CurrentUser'
author
Ivan Kohler
<ivan@freeside.biz>
Fri, 3 Apr 2015 18:27:23 +0000
(11:27 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Fri, 3 Apr 2015 18:27:23 +0000
(11:27 -0700)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
74433d7
..
a9d7ac7
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-1856,7
+1856,7
@@
sub check {
return "You are not permitted to create complimentary accounts."
if ! $self->custnum
&& $self->complimentary eq 'Y'
- && ! $FS::CurrentUser
->
CurrentUser->access_right('Complimentary customer');
+ && ! $FS::CurrentUser
::
CurrentUser->access_right('Complimentary customer');
if ( $self->paydate eq '' || $self->paydate eq '-' ) {
return "Expiration date required"