diff --git a/src/exchangedb/procedures.sql b/src/exchangedb/procedures.sql index 646eaa44b..3d49bab1e 100644 --- a/src/exchangedb/procedures.sql +++ b/src/exchangedb/procedures.sql @@ -540,7 +540,7 @@ THEN (in_policy_serial_id ,in_policy_details ,in_policy_deadline - ,'pending') + ,0) -- 0 == pending RETURNING policy_details_serial_id INTO xdi; ELSE xdi=NULL;