diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-08-20 23:27:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 23:27:57 +0200 |
commit | ec67fc35e552accc2338e322e9128dacb13a9a91 (patch) | |
tree | d8b21dbd1e0a11f7022964d803c1420fb37894c3 /extensions/ComponentWatching/Extension.pm | |
parent | b71b52a87e515692e2b4445d79c6085bf0d97788 (diff) | |
download | bugzilla-ec67fc35e552accc2338e322e9128dacb13a9a91.tar.gz bugzilla-ec67fc35e552accc2338e322e9128dacb13a9a91.tar.xz |
Bug 1482145 - Some changes required for unit tests to be written
Diffstat (limited to 'extensions/ComponentWatching/Extension.pm')
-rw-r--r-- | extensions/ComponentWatching/Extension.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/ComponentWatching/Extension.pm b/extensions/ComponentWatching/Extension.pm index 674e0da7b..25155f90b 100644 --- a/extensions/ComponentWatching/Extension.pm +++ b/extensions/ComponentWatching/Extension.pm @@ -411,7 +411,7 @@ sub bugmail_recipients { INNER JOIN components ON components.product_id = component_watch.product_id WHERE component_prefix IS NOT NULL AND (component_watch.product_id = ? OR component_watch.product_id = ?) - AND components.name LIKE CONCAT(component_prefix, '%') + AND components.name LIKE @{[$dbh->sql_string_concat('component_prefix', q{'%'})]} AND (components.id = ? OR components.id = ?) "); $sth->execute( |