summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/cust_pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 455a3805f..c147f0926 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -485,7 +485,7 @@ Useful for billing metered services.
sub last_bill {
my $self = shift;
- if ( $self->dbdef_table->column('manual_flag') ) {
+ if ( $self->dbdef_table->column('last_bill') ) {
return $self->setfield('last_bill', $_[1]) if @_;
return $self->getfield('last_bill') if $self->getfield('last_bill');
}