From 75ecf68b2018d0bb069cfed08799ad66c56186bd Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 25 Jan 2008 08:00:15 +1300 Subject: [PATCH] Ensure expanded 'A' is unexpanded in the end. --- dba/caldav_functions.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dba/caldav_functions.sql b/dba/caldav_functions.sql index e1f0d812..562582fb 100644 --- a/dba/caldav_functions.sql +++ b/dba/caldav_functions.sql @@ -271,6 +271,10 @@ BEGIN tmp_txt := tmp_txt || substring(tmp_confers,counter,1); END IF; END LOOP; + IF tmp_txt = ''FBRWU'' THEN + -- Shrink that mask back down + tmp_txt := ''A''; + END IF; RETURN dbg || tmp_txt; END IF; END IF;