summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmanage_proposal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/manage_proposal.inc b/manage_proposal.inc
index 3564c75..683d071 100755
--- a/manage_proposal.inc
+++ b/manage_proposal.inc
@@ -1006,7 +1006,7 @@ function cfd_case_study_proposal_edit_form($form, &$form_state)
$form['solver_used'] = array(
'#type' => 'select',
'#title' => t('Select the Solver to be used'),
- '#options' => _cs_list_of_solvers($version_id, $simulation_id),
+ '#options' => _cs_list_of_solvers($simulation_id),
'#prefix' => '<div id="ajax-solver-replace">',
'#suffix' => '</div>',
'#states' => array(
@@ -1069,7 +1069,7 @@ function cfd_case_study_proposal_edit_form($form, &$form_state)
function ajax_solver_used_callback($form, $form_state){
$simulation_id = isset($form_state['values']['simulation_type']) ? $form_state['values']['simulation_type'] : key($simulation_type_options);
if($simulation_id < 19){
- $form['solver_used']['#options'] = _cs_list_of_solvers($version_id, $simulation_id);
+ $form['solver_used']['#options'] = _cs_list_of_solvers($simulation_id);
$form['solver_used']['#required'] = TRUE;
$form['solver_used']['#validated'] = TRUE;
$commands[] = ajax_command_replace('#ajax-solver-replace', drupal_render($form['solver_used']));