From 03cdf0fa7961950051057a635dce9b30d4a10247 Mon Sep 17 00:00:00 2001 From: PriestJ Date: Mon, 21 Apr 2008 14:42:37 +0000 Subject: [PATCH] Altered code to only display the watermark on the pdf if the watermark jpeg has a flow id the same as the current application git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4860 248e525c-4dfb-0310-94bc-949c084e9493 --- Modules/mip_quotation_document.pck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/mip_quotation_document.pck b/Modules/mip_quotation_document.pck index 08978fe..0533f94 100644 --- a/Modules/mip_quotation_document.pck +++ b/Modules/mip_quotation_document.pck @@ -1472,7 +1472,7 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS CURSOR c_get_watermark(cp_watermark varchar2) IS SELECT blob_content FROM wwv_flow_files - WHERE filename = cp_watermark; + WHERE filename = cp_watermark and flow_id=apex_application.g_flow_id; begin IF NOT c_get_logo%ISOPEN THEN