freeside/eg table_template.pm,1.3,1.4
ivan
ivan at pouncequick.420.am
Sat Nov 20 09:27:02 PST 2004
Update of /home/cvs/cvsroot/freeside/eg
In directory pouncequick:/tmp/cvs-serv3612/eg
Modified Files:
table_template.pm
Log Message:
first pass at VoIP rating
Index: table_template.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/eg/table_template.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- table_template.pm 5 Apr 2002 23:51:17 -0000 1.3
+++ table_template.pm 20 Nov 2004 17:26:55 -0000 1.4
@@ -93,7 +93,13 @@
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
More information about the freeside-commits
mailing list