diff options
author | ivan <ivan> | 2009-06-26 18:53:52 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-06-26 18:53:52 +0000 |
commit | 1ef9bd61065ffb8e0b87caec9afa2e69a8bf3391 (patch) | |
tree | 88c6e205582f170c3a4e47e60dd17e637d9bad04 | |
parent | c9609191fee532ef91c5a9b1331caf909deef0d7 (diff) |
in smart_search, move duplicate elimination bits so that they're used even when doing an exact search on a browser-remembered result
-rw-r--r-- | FS/FS/cust_main.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index a1130f44d..968b767a5 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -5566,12 +5566,12 @@ sub smart_search { } - #eliminate duplicates - my %saw = (); - @cust_main = grep { !$saw{$_->custnum}++ } @cust_main; - } + #eliminate duplicates + my %saw = (); + @cust_main = grep { !$saw{$_->custnum}++ } @cust_main; + @cust_main; } |