projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5791355
)
check for the existance of the correct column
author
ivan
<ivan>
Thu, 5 Feb 2004 21:51:57 +0000
(21:51 +0000)
committer
ivan
<ivan>
Thu, 5 Feb 2004 21:51:57 +0000
(21:51 +0000)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
455a380
..
c147f09
100644
(file)
--- 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');
}