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
|
|
@ -1598,8 +1598,8 @@ sub resetGroupFields {
|
|||
foreach my $tableName (keys %{ $tableCache }) {
|
||||
foreach my $fieldName (@{ $tableCache->{$tableName} }) {
|
||||
my $sql = sprintf 'UPDATE %s SET %s=3 where %s=?',
|
||||
$db->dbh->quote_identifier($tableName),
|
||||
(($db->dbh->quote_identifier($fieldName)) x 2);
|
||||
$db->quote_identifier($tableName),
|
||||
(($db->quote_identifier($fieldName)) x 2);
|
||||
$db->write($sql, [ $gid ]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue