[interchange-cvs] interchange - jon modified lib/Vend/Table/DBI.pm

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Thu Dec 6 15:44:00 2001


User:      jon
Date:      2001-12-06 20:43:00 GMT
Modified:  lib/Vend/Table DBI.pm
Log:
Fix bug in new row array-handling code that (among other things) kept the
second-level admin menus from being displayed.

Revision  Changes    Path
2.7       +3 -3      interchange/lib/Vend/Table/DBI.pm


rev 2.7, prev_rev 2.6
Index: DBI.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/DBI.pm,v
retrieving revision 2.6
retrieving revision 2.7
diff -u -u -r2.6 -r2.7
--- DBI.pm	2001/12/05 00:05:13	2.6
+++ DBI.pm	2001/12/06 20:43:00	2.7
@@ -1,6 +1,6 @@
 # Vend::Table::DBI - Access a table stored in an DBI/DBD database
 #
-# $Id: DBI.pm,v 2.6 2001/12/05 00:05:13 mheins Exp $
+# $Id: DBI.pm,v 2.7 2001/12/06 20:43:00 jon Exp $
 #
 # Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com>
 #
@@ -20,7 +20,7 @@
 # MA  02111-1307  USA.
 
 package Vend::Table::DBI;
-$VERSION = substr(q$Revision: 2.6 $, 10);
+$VERSION = substr(q$Revision: 2.7 $, 10);
 
 use strict;
 
@@ -1496,7 +1496,7 @@
 	if(! defined $return->[0]) {
 		pop @$s;
 		delete $s->[$CONFIG]{Export_order};
-		return ();
+		return [];
 	}
     return $return;
 }