X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=47964818352d3392e442305d22a9c2ff3d8fa97e;hp=a5c73545761c4e659b79615b1a4636544afdec62;hb=a9f62de2c99fea32f8a1b86e4da3766fc0ad2b53;hpb=24df069082d9cf57ed6788c5e864f65f4170a83f
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index a5c735457..479648183 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -206,8 +206,7 @@ print '
';
if ( $cust_main->payby eq 'CARD' ) {
my $payinfo = $cust_main->payinfo;
- $payinfo = substr($payinfo,0,4). 'x'x(length($payinfo)-4);
-
+ $payinfo = 'x'x(length($payinfo)-4). substr($payinfo,(length($payinfo)-4));
print 'Credit card',
'