Prune out a method call from db->dbh->quote_identifier.
This commit is contained in:
parent
b7b633bf19
commit
11ac13c349
12 changed files with 47 additions and 47 deletions
|
|
@ -199,10 +199,10 @@ sub secure_identifier {
|
|||
if(scalar(@parts) > 1) {
|
||||
my $table = $parts[0];
|
||||
my $column = $parts[1];
|
||||
$identifier = $db->dbh->quote_identifier($table).".".$db->dbh->quote_identifier($column);
|
||||
$identifier = $db->quote_identifier($table).".".$db->dbh->quote_identifier($column);
|
||||
}
|
||||
else {
|
||||
$identifier = $db->dbh->quote_identifier($identifier);
|
||||
$identifier = $db->quote_identifier($identifier);
|
||||
}
|
||||
|
||||
return $identifier;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue