Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-revision.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-revision.sql,v
diff -u -r1.23 -r1.24
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-revision.sql	14 Jun 2001 12:52:01 -0000	1.23
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-revision.sql	23 Aug 2001 02:26:21 -0000	1.24
@@ -360,10 +360,9 @@
       if NOT FOUND then
          v_latest_revision := null;        
       end if;
-      if v_latest_revision != delete__revision_id then 
-            update cr_items set latest_revision = v_latest_revision
-            where item_id = v_item_id;
-      end if;
+      
+      update cr_items set latest_revision = v_latest_revision
+      where item_id = v_item_id;    
   end if; 
  
   -- Clear live revision
