summaryrefslogtreecommitdiff
path: root/site_perl
diff options
context:
space:
mode:
authorivan <ivan>1998-11-07 05:17:18 +0000
committerivan <ivan>1998-11-07 05:17:18 +0000
commitf408cf19344c7d128bf98ffd9667810ca9bebc1b (patch)
tree8bea3bdc7bc06d15fbf4c5fb4abbd2362a13ba03 /site_perl
parent0d81e88f59457053bdeb549c38ffbfb32441cc5a (diff)
In sub new, Pg wrapper for money fields from dbdef (FS::Record::fields $table),
not keys of supplied hashref.
Diffstat (limited to 'site_perl')
-rw-r--r--site_perl/Record.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/site_perl/Record.pm b/site_perl/Record.pm
index 9b308508a..87de48cc4 100644
--- a/site_perl/Record.pm
+++ b/site_perl/Record.pm
@@ -127,7 +127,7 @@ sub new {
# }
#}
- foreach my $column (keys %{$hashref}) {
+ foreach my $column ( FS::Record::fields $table ) {
#trim the '$' from money fields for Pg (beong HERE?)
#(what about Pg i18n?)
if ( datasrc =~ m/Pg/
@@ -862,6 +862,12 @@ added pod documentation ivan@sisd.com 98-sep-6
ut_phonen got ''; at the end ivan@sisd.com 98-sep-27
+$Log: Record.pm,v $
+Revision 1.2 1998-11-07 05:17:18 ivan
+In sub new, Pg wrapper for money fields from dbdef (FS::Record::fields $table),
+not keys of supplied hashref.
+
+
=cut
1;