projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c4f2fbb
)
silly missing parenthesis
author
ivan
<ivan>
Fri, 29 Jun 2007 01:42:11 +0000
(
01:42
+0000)
committer
ivan
<ivan>
Fri, 29 Jun 2007 01:42:11 +0000
(
01:42
+0000)
FS/FS/cust_pay.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pay.pm
b/FS/FS/cust_pay.pm
index
dc6bd40
..
0ead226
100644
(file)
--- 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)
# 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
}
return "duplicate transaction"; #well, it *could* be a better error message
}