[interchange-cvs] interchange - heins modified dist/lib/UI/Primitive.pm

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Sat Feb 2 12:21:01 2002


User:      heins
Date:      2002-02-02 17:20:12 GMT
Modified:  dist/lib/UI Primitive.pm
Log:
	* Allow UI filters to be created....

Revision  Changes    Path
2.12      +1 -1      interchange/dist/lib/UI/Primitive.pm


rev 2.12, prev_rev 2.11
Index: Primitive.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/dist/lib/UI/Primitive.pm,v
retrieving revision 2.11
retrieving revision 2.12
diff -u -r2.11 -r2.12
--- Primitive.pm	2 Feb 2002 08:57:11 -0000	2.11
+++ Primitive.pm	2 Feb 2002 17:20:12 -0000	2.12
@@ -1,6 +1,6 @@
 # UI::Primitive - Interchange configuration manager primitives
 
-# $Id: Primitive.pm,v 2.11 2002/02/02 08:57:11 mheins Exp $
+# $Id: Primitive.pm,v 2.12 2002/02/02 17:20:12 mheins Exp $
 
 # Copyright (C) 1998-2001 Red Hat, Inc. <interchange@redhat.com>
 
@@ -25,7 +25,7 @@
 
 package UI::Primitive;
 
-$VERSION = substr(q$Revision: 2.11 $, 10);
+$VERSION = substr(q$Revision: 2.12 $, 10);
 
 $DEBUG = 0;
 
@@ -960,7 +960,7 @@
 		
 		my $w = Vend::Form::display($record);
 		my $filter;
-		if($opt->{filter}) {
+		if($record->{filter}) {
 			$w .= qq{<INPUT TYPE=hidden NAME="ui_filter:$opt->{name}" VALUE="};
 			$w .= $opt->{filter};
 			$w .= '">';