prepaid download/upload tracking
[freeside.git] / FS / FS / svc_external.pm
index b97e12b..14eab7e 100644 (file)
@@ -145,7 +145,7 @@ Called by the cancel method of FS::cust_pkg (see L<FS::cust_pkg>).
 
 Checks all fields to make sure this is a valid external service.  If there is
 an error, returns the error, otherwise returns false.  Called by the insert
-and repalce methods.
+and replace methods.
 
 =cut
 
@@ -158,7 +158,7 @@ sub check {
 
   my $error = 
     $self->ut_numbern('svcnum')
-    || $self->ut_number('id')
+    || $self->ut_numbern('id')
     || $self->ut_textn('title')
   ;