freeside/FS/FS Record.pm,1.93,1.94
ivan
ivan at pouncequick.420.am
Thu Mar 3 00:15:40 PST 2005
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv15980
Modified Files:
Record.pm
Log Message:
want a full stack backtrace for this warning
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- Record.pm 27 Feb 2005 10:18:49 -0000 1.93
+++ Record.pm 3 Mar 2005 08:15:37 -0000 1.94
@@ -439,7 +439,7 @@
sub qsearchs { # $result_record = &FS::Record:qsearchs('table',\%hash);
my $table = $_[0];
my(@result) = qsearch(@_);
- carp "warning: Multiple records in scalar search ($table)"
+ cluck "warning: Multiple records in scalar search ($table)"
if scalar(@result) > 1;
#should warn more vehemently if the search was on a primary key?
scalar(@result) ? ($result[0]) : ();
More information about the freeside-commits
mailing list