eek, hopefully fix problems caused by adding debugging of bind_param statements
[freeside.git] / FS / FS / Record.pm
index 9badd5b..730d81a 100644 (file)
@@ -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";
     }