Index: openacs-4/packages/lars-blogger/sql/postgresql/lars-blogger-sc-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/sql/postgresql/lars-blogger-sc-create.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/lars-blogger/sql/postgresql/lars-blogger-sc-create.sql	30 Nov 2002 17:36:59 -0000	1.2
+++ openacs-4/packages/lars-blogger/sql/postgresql/lars-blogger-sc-create.sql	2 Apr 2004 01:01:08 -0000	1.3
@@ -43,7 +43,7 @@
 create function pinds_blog_entries__utrg ()
 returns opaque as '
 begin
-    if (new.draft_p = ''f'' and old.draft_p = ''t'') or new.deleted_p = ''t'' then
+    if (new.draft_p = ''t'' and old.draft_p = ''f'') or new.deleted_p = ''t'' then
         perform search_observer__enqueue(old.entry_id,''DELETE'');
     else 
         perform search_observer__enqueue(old.entry_id,''UPDATE'');
