[interchange-cvs] interchange - racke modified lib/Vend/Options/Matrix.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Fri Jul 21 09:54:47 EDT 2006


User:      racke
Date:      2006-07-21 13:54:47 GMT
Modified:  lib/Vend/Options Matrix.pm
Log:
merged changes 1.11 vs 1.11.2.1
+++ 1.11.2.1 +++
Fixed spurious hidden form element output for matrix options with separate
widgets and report option set, patch provided by Peter Ajamian.

Revision  Changes    Path
1.13      +8 -4      interchange/lib/Vend/Options/Matrix.pm


rev 1.13, prev_rev 1.12
Index: Matrix.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Options/Matrix.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Matrix.pm	25 Feb 2006 23:40:48 -0000	1.12
+++ Matrix.pm	21 Jul 2006 13:54:47 -0000	1.13
@@ -1,8 +1,8 @@
 # Vend::Options::Matrix - Interchange Matrix product options
 #
-# $Id: Matrix.pm,v 1.12 2006/02/25 23:40:48 docelic Exp $
+# $Id: Matrix.pm,v 1.13 2006/07/21 13:54:47 racke Exp $
 #
-# Copyright (C) 2002-2005 Interchange Development Group <interchange at icdevgroup.org>
+# Copyright (C) 2002-2006 Interchange Development Group <interchange at icdevgroup.org>
 # Copyright (C) 2002-2003 Mike Heins <mikeh at perusion.net>
 
 # This program is free software; you can redistribute it and/or modify
@@ -23,7 +23,7 @@
 
 package Vend::Options::Matrix;
 
-$VERSION = substr(q$Revision: 1.12 $, 10);
+$VERSION = substr(q$Revision: 1.13 $, 10);
 
 =head1 NAME
 
@@ -244,7 +244,9 @@
 		}
 		
 		$phony->{mv_sku} = $sku;
-		my $begin = Vend::Interpolate::tag_accessories(
+		my $begin = '';
+		unless ($opt->{report}) {
+			$begin = Vend::Interpolate::tag_accessories(
 							$sku,
 							'',
 							{ 
@@ -255,6 +257,8 @@
 							},
 							$phony,
 						);
+		}
+		
 		if($opt->{td}) {
 			for(@out) {
 				$out .= "<td>$begin$_</td>";








More information about the interchange-cvs mailing list