hopefully really a better fix for using new payment duplicate stuff with cc encryption :/
authorivan <ivan>
Mon, 5 May 2008 02:11:23 +0000 (02:11 +0000)
committerivan <ivan>
Mon, 5 May 2008 02:11:23 +0000 (02:11 +0000)
FS/FS/payinfo_Mixin.pm

index f2edbd2..bdfe6c9 100644 (file)
@@ -232,13 +232,16 @@ sub payinfo_check {
   } else {
     if ( $self->is_encrypted($self->payinfo) ) {
       #something better?  all it would cause is a decryption error anyway?
-      my $error = $self->ut_anythingn('payinfo');
+      my $error = $self->ut_anything('payinfo');
       return $error if $error;
     } else {
       my $error = $self->ut_textn('payinfo');
       return $error if $error;
     }
   }
+
+  '';
+
 }
 
 =head1 BUGS