[freeside-commits] freeside/FS/FS Record.pm,1.121,1.122
Ivan,,,
ivan at wavetail.420.am
Fri Aug 25 19:14:16 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv3785
Modified Files:
Record.pm
Log Message:
foiled by autovivification!
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- Record.pm 26 Aug 2006 02:12:54 -0000 1.121
+++ Record.pm 26 Aug 2006 02:14:14 -0000 1.122
@@ -388,8 +388,6 @@
my %result;
tie %result, "Tie::IxHash";
my @stuff = @{ $sth->fetchall_arrayref( {} ) };
- #if ( $pkey ) {
- #if ( $pkey && $stuff[0]->{$pkey} ) {
if ( $pkey && scalar(@stuff) && $stuff[0]->{$pkey} ) {
%result = map { $_->{$pkey}, $_ } @stuff;
} else {
More information about the freeside-commits
mailing list