[interchange-cvs] interchange - danb modified lib/Vend/Options.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Mon Feb 27 15:26:28 EST 2006
User: danb
Date: 2006-02-27 20:26:28 GMT
Modified: lib/Vend Options.pm
Log:
* [Fixed] Error type unspecified in one logOnce() call in Options
- This resulted in the actual error message being dropped and only the "sku"
argument making it through to the log file.
Revision Changes Path
2.6 +3 -3 interchange/lib/Vend/Options.pm
rev 2.6, prev_rev 2.5
Index: Options.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Options.pm,v
retrieving revision 2.5
retrieving revision 2.6
diff -u -r2.5 -r2.6
--- Options.pm 8 Nov 2005 18:14:45 -0000 2.5
+++ Options.pm 27 Feb 2006 20:26:27 -0000 2.6
@@ -1,6 +1,6 @@
# Vend::Options - Interchange item options base module
#
-# $Id: Options.pm,v 2.5 2005/11/08 18:14:45 jon Exp $
+# $Id: Options.pm,v 2.6 2006/02/27 20:26:27 danb Exp $
#
# Copyright (C) 2002-2005 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -23,7 +23,7 @@
package Vend::Options;
require Exporter;
-$VERSION = substr(q$Revision: 2.5 $, 10);
+$VERSION = substr(q$Revision: 2.6 $, 10);
@ISA = qw(Exporter);
@@ -89,7 +89,7 @@
if(! defined $item->{$attrib}) {
$tab = $item->{mv_ib} || product_code_exists_tag($sku)
or do {
- logOnce("options: Unknown product %s.", $sku);
+ logOnce('error', "options: Unknown product %s.", $sku);
return;
};
$item->{$attrib} = tag_data($tab, $field, $sku);
More information about the interchange-cvs
mailing list