summaryrefslogtreecommitdiff
path: root/eg
diff options
context:
space:
mode:
authorivan <ivan>2004-11-20 17:26:56 +0000
committerivan <ivan>2004-11-20 17:26:56 +0000
commit48ba2845d0119c56971d5b724661aa37e73b49dd (patch)
treef5b2946aec0b5ee6910c97e88aa9112cec50a405 /eg
parent521e7787b230669dc10e6fbd909e70ddb8121990 (diff)
first pass at VoIP rating
Diffstat (limited to 'eg')
-rw-r--r--eg/table_template.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/eg/table_template.pm b/eg/table_template.pm
index d609bd544..5da6f3b28 100644
--- a/eg/table_template.pm
+++ b/eg/table_template.pm
@@ -93,7 +93,13 @@ and replace methods.
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