diff options
author | Saketh1499 | 2022-03-16 14:10:19 +0530 |
---|---|---|
committer | Saketh1499 | 2022-03-16 14:10:19 +0530 |
commit | a7b1ab30edc776018b9b4ff9350468769e326d36 (patch) | |
tree | 617cc64b91f333be89759a457495aab3d928b971 | |
parent | d5f33b86180b0e32e796fdaad211206d596a0c5a (diff) | |
download | soul_science_and_concept_map_project-1-a7b1ab30edc776018b9b4ff9350468769e326d36.tar.gz soul_science_and_concept_map_project-1-a7b1ab30edc776018b9b4ff9350468769e326d36.tar.bz2 soul_science_and_concept_map_project-1-a7b1ab30edc776018b9b4ff9350468769e326d36.zip |
Adding second software version
-rwxr-xr-x | proposal.inc | 5 | ||||
-rwxr-xr-x | science_and_concept_map.module | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/proposal.inc b/proposal.inc index 2b8dba1..738c9b1 100755 --- a/proposal.inc +++ b/proposal.inc @@ -306,10 +306,7 @@ function science_and_concept_map_proposal_form($form, &$form_state, $no_js_use = $form['second_software'] = array( '#type' => 'select', '#title' => t('Select Second Software (If applicable)'), - '#options' => _soul_list_of_second_software_version(), - '#attributes' => array( - 'placeholder' => t('Select Second Software') - ), + '#options' => _soul_list_of_second_software_version() ); $form['project_title'] = array( '#type' => 'textarea', diff --git a/science_and_concept_map.module b/science_and_concept_map.module index f8e49dd..71f4ae4 100755 --- a/science_and_concept_map.module +++ b/science_and_concept_map.module @@ -775,7 +775,9 @@ function _df_list_of_departments() } function _soul_list_of_second_software_version() { - $second_software = array(); + $second_software = array( + 0 => '-Select-' + ); $query = db_select('soul_science_and_concept_map_second_software'); $query->fields('soul_science_and_concept_map_second_software'); $second_software_list = $query->execute(); |