From 30d4a5978101f6023a9aa592046e08b98d9a92d0 Mon Sep 17 00:00:00 2001 From: Arthur Egberink Date: Mon, 19 Feb 2018 11:24:46 +0000 Subject: [PATCH] FCLT#52281 -- AiAi bij aanroep api_opdrsoap svn path=/Website/branches/v2017.2/; revision=37041 --- APPL/API/api_opdrsoap.asp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/APPL/API/api_opdrsoap.asp b/APPL/API/api_opdrsoap.asp index e05dacdb1f..0d1ac69ea2 100644 --- a/APPL/API/api_opdrsoap.asp +++ b/APPL/API/api_opdrsoap.asp @@ -464,12 +464,12 @@ for (i=0; i < opdrachten.length; i++) } oRs.Close(); } - if (opdraction == "note") + if (opdraction == "note" && resultcode == -1) // Nog steeds geen fouten. { tsql = "INSERT INTO mld_opdr_note(mld_opdr_key, prs_perslid_key, mld_opdr_note_omschrijving)" + " VALUES (" + opdr_key + "," + user_key + "," + safe.quoted_sql(opdropmerking) + ")"; Oracle.Execute(tsql); - resultcode = 0; + resultcode = 0; // we zijn klaar. } } else