projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hide US regions for now, we don't currently need them for rating just invoice/session...
[freeside.git]
/
eg
/
table_template.pm
diff --git
a/eg/table_template.pm
b/eg/table_template.pm
index
2cc1e1d
..
5da6f3b
100644
(file)
--- a/
eg/table_template.pm
+++ b/
eg/table_template.pm
@@
-93,15
+93,17
@@
and replace methods.
sub check {
my $self = shift;
sub check {
my $self = shift;
- ''; #no error
+ my $error =
+ $self->ut_numbern('primary_key')
+ || $self->ut_number('validate_other_fields')
+ ;
+ return $error if $error;
+
+ $self->SUPER::check;
}
=back
}
=back
-=head1 VERSION
-
-$Id: table_template.pm,v 1.2 2000-10-27 20:15:50 ivan Exp $
-
=head1 BUGS
The author forgot to customize this manpage.
=head1 BUGS
The author forgot to customize this manpage.