X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f99e8aa3bdb4b7ac94730952287b4f77f1f9a573..e4a28a8d400a4dd07982fe827a47924bfada3947:/sql/Pg-upgrade2/requirement_spec_items_update_trigger_fix2.sql

diff --git a/sql/Pg-upgrade2/requirement_spec_items_update_trigger_fix2.sql b/sql/Pg-upgrade2/requirement_spec_items_update_trigger_fix2.sql
index fd9729f2f..329569de7 100644
--- a/sql/Pg-upgrade2/requirement_spec_items_update_trigger_fix2.sql
+++ b/sql/Pg-upgrade2/requirement_spec_items_update_trigger_fix2.sql
@@ -18,7 +18,7 @@ CREATE OR REPLACE FUNCTION update_requirement_spec_item_time_estimation(item_id
          OR ((key = 'deleting_requirement_spec')      AND (value = CAST(item_requirement_spec_id AS TEXT)))
       LIMIT 1
     ) THEN
-      RAISE DEBUG 'updateRSIE: item_id % or requirement_spec_id % is about to be deleted; do not update', item_id, requirement_spec_id;
+      RAISE DEBUG 'updateRSIE: item_id % or requirement_spec_id % is about to be deleted; do not update', item_id, item_requirement_spec_id;
       RETURN FALSE;
     END IF;
 
