From ec3f3c46497ea42e4b360707f8c158b7eba2c1da Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 29 Jun 2007 01:42:19 +0000 Subject: [PATCH] silly missing parenthesis --- FS/FS/cust_pay.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index dc6bd4020..0ead22658 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -420,7 +420,7 @@ sub check { # UNIQUE index should catch this too, without race conditions, but this # should give a better error message the other 99.9% of the time... if ( length($self->payunique) - && qsearchs('cust_pay', { 'payunique' => $self->payunique } ) { + && qsearchs('cust_pay', { 'payunique' => $self->payunique } ) ) { return "duplicate transaction"; #well, it *could* be a better error message } -- 2.20.1