Index: openacs-4/contrib/obsolete-packages/ticket-tracker/sql/oracle/ticket-tracker-packages.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/ticket-tracker/sql/oracle/ticket-tracker-packages.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/ticket-tracker/sql/oracle/ticket-tracker-packages.sql	4 Jun 2001 16:53:27 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/ticket-tracker/sql/oracle/ticket-tracker-packages.sql	12 Jun 2001 06:25:48 -0000	1.3
@@ -523,7 +523,8 @@
                  apm_parameters ap
            where apv.package_id = notification_sender.package_id
              and ap.package_key = 'ticket-tracker'
-             and ap.parameter_name = 'NotificationSender';
+             and ap.parameter_name = 'NotificationSender'
+             and ap.parameter_id = apv.parameter_id;
        value_rec  value_cur%ROWTYPE;
         v_result   parties.party_id%TYPE;
     begin
