Index: openacs-4/packages/simulation/www/siminst/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/index.tcl,v diff -u -r1.14 -r1.15 --- openacs-4/packages/simulation/www/siminst/index.tcl 15 Dec 2003 10:54:31 -0000 1.14 +++ openacs-4/packages/simulation/www/siminst/index.tcl 15 Dec 2003 13:40:22 -0000 1.15 @@ -108,7 +108,7 @@ and ss.sim_type = 'dev_sim' $sim_in_dev_filter_sql " { - if { [string equal $role_empty_count 0] && [string equal $prop_empty_count 0]} { + if { [simulation::template::ready_for_casting_p -role_empty_count $role_empty_count -prop_empty_count $prop_empty_count] } { set cast_url [export_vars -base "${base_url}siminst/simulation-casting" { workflow_id }] } else { set cast_url ""