add optional fcc_ds0s to pkg_class, RT13057
authorlevinse <levinse>
Mon, 27 Jun 2011 23:28:50 +0000 (23:28 +0000)
committerlevinse <levinse>
Mon, 27 Jun 2011 23:28:50 +0000 (23:28 +0000)
FS/FS/pkg_class.pm

index 8132dd5..8b66c16 100644 (file)
@@ -69,12 +69,8 @@ sub _target_table { 'part_pkg'; }
 
 sub check {
     my $self = shift;
-    my $error = $self->ut_numbern('fcc_ds0s')
-        || $self->SUPER::check
-    ;
-    return $error if $error;
-
-    '';
+    $self->ut_numbern('fcc_ds0s')
+        || $self->SUPER::check;
 }
 
 =item insert