From: ivan Date: Mon, 7 Jul 2008 21:18:15 +0000 (+0000) Subject: eek, hopefully fix problems caused by adding debugging of bind_param statements X-Git-Tag: root_of_webpay_support~505 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=816c0391a63ae673d03baa3ee39dc22289c28d7f eek, hopefully fix problems caused by adding debugging of bind_param statements --- diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 9badd5bef..730d81afe 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -318,7 +318,7 @@ sub qsearch { if ( $DEBUG > 2 ) { no strict 'refs'; - %TYPE = map { &{"DBI::$_"} => $_ } @{ $DBI::EXPORT_TAGS{sql_types} } + %TYPE = map { &{"DBI::$_"}() => $_ } @{ $DBI::EXPORT_TAGS{sql_types} } unless keys %TYPE; warn " bind_param $bind (for field $field), $value, TYPE $TYPE{$TYPE}\n"; }