Index: openacs-4/packages/project-manager/lib/tasks.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/tasks.tcl,v
diff -u -r1.25 -r1.26
--- openacs-4/packages/project-manager/lib/tasks.tcl	7 Oct 2005 22:56:05 -0000	1.25
+++ openacs-4/packages/project-manager/lib/tasks.tcl	14 Oct 2005 18:37:29 -0000	1.26
@@ -21,13 +21,12 @@
 
 foreach optional_unset $optional_unset_list {
     if {[info exists $optional_unset]} {
-	if {[empty_string_p [set $optional_unset]]} {
+        if {[empty_string_p [set $optional_unset]] || [set $optional_unset] == 0} {
 	    unset $optional_unset
 	}
     }
 }
 
-
 if ![info exists page_size] {
     set page_size 25
 }
@@ -160,7 +159,7 @@
 				      where_clause "t.parent_id = :project_item_id"
 				 ] \
 		 instance_id [list \
-				  where_clause "ti.process_instance = :instance_id"
+                                 where_clause "ti.process_instance = :instance_id"
 			     ] \
 		 is_observer_p [list \
 				    label "[_ project-manager.Observer]" \