Index: openacs-4/packages/ecommerce/tcl/ecommerce-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-procs-postgresql.xql,v diff -u -r1.5 -r1.6 --- openacs-4/packages/ecommerce/tcl/ecommerce-procs-postgresql.xql 15 Jul 2001 17:01:28 -0000 1.5 +++ openacs-4/packages/ecommerce/tcl/ecommerce-procs-postgresql.xql 16 Jul 2001 20:07:06 -0000 1.6 @@ -49,7 +49,7 @@ - select case when current_timestamp-available_date > 0 then 1 when current_timestamp-available_date is NULL then 1 else 0 end as available_p, + select case when current_timestamp > available_date then 1 when current_timestamp-available_date is NULL then 1 else 0 end as available_p, color_list, size_list, style_list, no_shipping_avail_p from ec_products where product_id = :product_id