[freeside-commits] freeside/FS/FS cust_main.pm, 1.271.2.70, 1.271.2.71
Ivan,,,
ivan at wavetail.420.am
Fri Jun 26 11:53:55 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv28146
Modified Files:
Tag: FREESIDE_1_7_BRANCH
cust_main.pm
Log Message:
in smart_search, move duplicate elimination bits so that they're used even when doing an exact search on a browser-remembered result
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.271.2.70
retrieving revision 1.271.2.71
diff -u -d -r1.271.2.70 -r1.271.2.71
--- cust_main.pm 12 Jun 2009 10:20:30 -0000 1.271.2.70
+++ cust_main.pm 26 Jun 2009 18:53:52 -0000 1.271.2.71
@@ -5566,12 +5566,12 @@
}
- #eliminate duplicates
- my %saw = ();
- @cust_main = grep { !$saw{$_->custnum}++ } @cust_main;
-
}
+ #eliminate duplicates
+ my %saw = ();
+ @cust_main = grep { !$saw{$_->custnum}++ } @cust_main;
+
@cust_main;
}
More information about the freeside-commits
mailing list