show credit balance on invoices, #11564
[freeside.git] / FS / FS / queue_depend.pm
index 4a4e3c5..99a22c5 100644 (file)
@@ -43,7 +43,7 @@ inherits from FS::Record.  The following fields are currently supported:
 
 The job specified by B<jobnum> depends on the job specified B<depend_jobnum> -
 the B<jobnum> job will not be run until the B<depend_jobnum> job has completed
-sucessfully (or manually removed).
+successfully (or manually removed).
 
 =head1 METHODS
 
@@ -103,6 +103,7 @@ sub check {
   $self->ut_numbern('dependnum')
     || $self->ut_foreign_key('jobnum',        'queue', 'jobnum')
     || $self->ut_foreign_key('depend_jobnum', 'queue', 'jobnum')
+    || $self->SUPER::check
   ;
 }