[interchange-cvs] interchange - heins modified lib/Vend/Table/DBI_CompositeKey.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Apr 27 18:16:27 EDT 2005


User:      heins
Date:      2005-04-27 22:16:27 GMT
Modified:  lib/Vend/Table DBI_CompositeKey.pm
Log:
* Fix bug with Default_session_ary setting.

Revision  Changes    Path
1.7       +3 -3      interchange/lib/Vend/Table/DBI_CompositeKey.pm


rev 1.7, prev_rev 1.6
Index: DBI_CompositeKey.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/DBI_CompositeKey.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- DBI_CompositeKey.pm	12 Apr 2004 03:06:32 -0000	1.6
+++ DBI_CompositeKey.pm	27 Apr 2005 22:16:27 -0000	1.7
@@ -1,6 +1,6 @@
 # Vend::Table::DBI - Access a table stored in an DBI/DBD database
 #
-# $Id: DBI_CompositeKey.pm,v 1.6 2004/04/12 03:06:32 mheins Exp $
+# $Id: DBI_CompositeKey.pm,v 1.7 2005/04/27 22:16:27 mheins Exp $
 #
 # Copyright (C) 2002-2004 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -21,7 +21,7 @@
 # MA  02111-1307  USA.
 
 package Vend::Table::DBI_CompositeKey;
-$VERSION = substr(q$Revision: 1.6 $, 10);
+$VERSION = substr(q$Revision: 1.7 $, 10);
 
 use strict;
 
@@ -507,7 +507,7 @@
 			for (my $i = 0; $i <= $max; $i++) {
 				if($sary->[$i] and ! defined $vals[$i]) {
 					push @flds, $s->[$NAME][$i];
-					@vals[$i], $sary->[$i]->($s);
+					$vals[$i] = $sary->[$i]->($s);
 					next;
 				}
 				next unless defined $ary->[$i];








More information about the interchange-cvs mailing list