Revision 453a5b3b
Von Moritz Bunkus vor etwa 10 Jahren hinzugefügt
SL/DB/Helper/CustomVariables.pm | ||
---|---|---|
$query{$key} =~ s{\bt\d+(?:\.)?\b}{}g;
|
||
|
||
# manually inline the values. again, rose doen't know how to handly bind params in subqueries :(
|
||
$query{$key} =~ s{\?}{ $config->dbh->quote($_) }xe for @{ $bind_vals{$key} };
|
||
$query{$key} =~ s{\?}{ $config->dbh->quote(shift @{ $bind_vals{$key} }) }xeg;
|
||
|
||
$query{$key} =~ s{\n}{ }g;
|
||
}
|
Auch abrufbar als: Unified diff
GetModels-Filtered: CVars: Fix für Platzhaltern im Suchbegriff