diff options
author | Doran L. Barton <fozz@iodynamics.com> | 2015-03-25 14:48:06 -0600 |
---|---|---|
committer | Doran L. Barton <fozz@iodynamics.com> | 2015-03-25 14:48:06 -0600 |
commit | 5becafa6dfc3ee7c0f07543904f0f3e25aa64949 (patch) | |
tree | 252ffabe6a7f8e958aaa9f563f37373d6094d461 | |
parent | 1c9056a27c303170060004c1be93787c6a32dcb6 (diff) |
Fixed bug: Replaced $FS::CurrentUser->CurrentUser with $FS::CurrentUser::CurrentUser
-rw-r--r-- | FS/FS/cust_main.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 74433d772..a9d7ac7bd 100644 --- 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" |