summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-08-20 23:27:57 +0200
committerGitHub <noreply@github.com>2018-08-20 23:27:57 +0200
commitec67fc35e552accc2338e322e9128dacb13a9a91 (patch)
treed8b21dbd1e0a11f7022964d803c1420fb37894c3 /extensions/MyDashboard
parentb71b52a87e515692e2b4445d79c6085bf0d97788 (diff)
downloadbugzilla-ec67fc35e552accc2338e322e9128dacb13a9a91.tar.gz
bugzilla-ec67fc35e552accc2338e322e9128dacb13a9a91.tar.xz
Bug 1482145 - Some changes required for unit tests to be written
Diffstat (limited to 'extensions/MyDashboard')
-rw-r--r--extensions/MyDashboard/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/MyDashboard/Extension.pm b/extensions/MyDashboard/Extension.pm
index 5278cfaa4..fc3a689bf 100644
--- a/extensions/MyDashboard/Extension.pm
+++ b/extensions/MyDashboard/Extension.pm
@@ -106,7 +106,7 @@ sub _component_watcher_ids {
WHERE product_id = ?
AND (component_id = ?
OR component_id IS NULL
- OR ? LIKE CONCAT(component_prefix, '%'))";
+ OR ? LIKE @{[$dbh->sql_string_concat('component_prefix', q{'%'})]})";
$self->{watcher_ids} ||= $dbh->selectcol_arrayref($query, undef,
$self->product_id, $self->id, $self->name);