fixed a bug in SQL::quote
fixed the logging bug
This commit is contained in:
parent
e26b7c9808
commit
9722bad470
3 changed files with 14 additions and 4 deletions
|
|
@ -608,7 +608,7 @@ The database handler. Defaults to the WebGUI database handler.
|
|||
|
||||
sub quote {
|
||||
my $value = shift;
|
||||
return "''" unless $value;
|
||||
return "''" unless defined $value;
|
||||
my $dbh = shift || _getDefaultDb();
|
||||
return $dbh->quote($value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue