[interchange-cvs] interchange - heins modified lib/Vend/Form.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Sep 24 02:39:00 EDT 2003
User: heins
Date: 2003-09-24 05:39:02 GMT
Modified: lib/Vend Form.pm
Log:
* Fix minor bug found by Paul Vinciguerra. Just the kind of thing usually
found only by code read...
Revision Changes Path
2.38 +3 -3 interchange/lib/Vend/Form.pm
rev 2.38, prev_rev 2.37
Index: Form.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Form.pm,v
retrieving revision 2.37
retrieving revision 2.38
diff -u -r2.37 -r2.38
--- Form.pm 18 Jul 2003 20:06:55 -0000 2.37
+++ Form.pm 24 Sep 2003 05:39:02 -0000 2.38
@@ -1,6 +1,6 @@
# Vend::Form - Generate Form widgets
#
-# $Id: Form.pm,v 2.37 2003/07/18 20:06:55 jon Exp $
+# $Id: Form.pm,v 2.38 2003/09/24 05:39:02 mheins Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -38,7 +38,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = substr(q$Revision: 2.37 $, 10);
+$VERSION = substr(q$Revision: 2.38 $, 10);
@EXPORT = qw (
display
@@ -525,7 +525,7 @@
my $width = $opt->{width} || 16;
$opt->{filter} = 'option_format'
unless length($opt->{filter});
- $val = Vend::Interpolate::filter_value('option_format', $val);
+ $val = Vend::Interpolate::filter_value($opt->{filter}, $val);
my @opts = split /\s*,\s*/, $val;
my $out = "<TABLE CELLPADDING=0 CELLSPACING=0><TR><TH><SMALL>Value</SMALL></TH><TH ALIGN=LEFT COLSPAN=2><SMALL>Label</SMALL></TH></TR>";
my $done;
More information about the interchange-cvs
mailing list