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