projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c9056a
)
Fixed bug: Replaced $FS::CurrentUser->CurrentUser with $FS::CurrentUser::CurrentUser
author
Doran L. Barton
<fozz@iodynamics.com>
Wed, 25 Mar 2015 20:48:06 +0000
(14:48 -0600)
committer
Doran L. Barton
<fozz@iodynamics.com>
Wed, 25 Mar 2015 20:48:06 +0000
(14:48 -0600)
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"