From bb8a2550ea2c6f666af51f8c040819e854f9022d Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 12 Aug 2014 12:28:45 -0700 Subject: [PATCH] fix log contexts, RT#30238 --- FS/FS/log_context.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/FS/FS/log_context.pm b/FS/FS/log_context.pm index a25490588..db97c9b68 100644 --- a/FS/FS/log_context.pm +++ b/FS/FS/log_context.pm @@ -7,6 +7,8 @@ use FS::Record qw( qsearch qsearchs ); my @contexts = ( qw( test bill_and_collect + FS::cust_main::Billing::bill_and_collect + FS::cust_main::Billing::bill Cron::bill Cron::upload spool_upload @@ -112,7 +114,8 @@ sub check { my $error = $self->ut_numbern('logcontextnum') || $self->ut_number('lognum') - || $self->ut_enum('context', \@contexts) + #|| $self->ut_enum('context', \@contexts) + #|| $self->ut_enum('context', \@contexts) ; return $error if $error; -- 2.11.0