diff options
Diffstat (limited to 'extensions/ComponentWatching')
-rw-r--r-- | extensions/ComponentWatching/Extension.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/ComponentWatching/Extension.pm b/extensions/ComponentWatching/Extension.pm index a56b46249..f79b68595 100644 --- a/extensions/ComponentWatching/Extension.pm +++ b/extensions/ComponentWatching/Extension.pm @@ -408,11 +408,13 @@ sub bugmail_recipients { 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.id = ? OR components.id = ?) "); $sth->execute( $oldProductId, $newProductId, $oldComponentId, $newComponentId, - $oldProductId, $newProductId + $oldProductId, $newProductId, + $oldComponentId, $newComponentId, ); while (my ($uid) = $sth->fetchrow_array) { if (!exists $recipients->{$uid}) { |