Revision 4b65183f
Von Kivitendo Admin vor mehr als 8 Jahren hinzugefügt
SL/DB/Helper/CustomVariables.pm | ||
---|---|---|
330 | 330 |
# remove rose aliases. query builder sadly is not reentrant, and will reuse the same aliases. :( |
331 | 331 |
$query{$key} =~ s{\bt\d+(?:\.)?\b}{}g; |
332 | 332 |
|
333 |
# manually inline the values. again, rose doen't know how to handle bind params in subqueries :( |
|
333 |
# manually inline the values. again, rose doesn't know how to handle bind params in subqueries :(
|
|
334 | 334 |
$query{$key} =~ s{\?}{ $config->dbh->quote(shift @{ $bind_vals{$key} }) }xeg; |
335 | 335 |
|
336 | 336 |
$query{$key} =~ s{\n}{ }g; |
Auch abrufbar als: Unified diff
Typos in Doku