summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2007-06-29 01:42:19 +0000
committerivan <ivan>2007-06-29 01:42:19 +0000
commitec3f3c46497ea42e4b360707f8c158b7eba2c1da (patch)
treee352518bc743fbc9db5f093b366118281759af8b
parent28a466147f693e3d15de0cf2ec0e662eed4da53a (diff)
silly missing parenthesis
-rw-r--r--FS/FS/cust_pay.pm2
1 files changed, 1 insertions, 1 deletions
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
}