summaryrefslogtreecommitdiff
path: root/proposal.inc
diff options
context:
space:
mode:
authorSashi202019-04-04 12:08:08 +0530
committerGitHub2019-04-04 12:08:08 +0530
commit0cbe138b3799593ff063d20ce043ccbc276c67b6 (patch)
treee11844534e3a50afc8cd5357013c384df51be50d /proposal.inc
parente6bfb2a65096326f2ec407c9ad12d1e5ba7df1ef (diff)
parent9f21cf74562ec66b0b5699014fc720ac518e34b6 (diff)
downloadDWSIM_lab_migration_module-0cbe138b3799593ff063d20ce043ccbc276c67b6.tar.gz
DWSIM_lab_migration_module-0cbe138b3799593ff063d20ce043ccbc276c67b6.tar.bz2
DWSIM_lab_migration_module-0cbe138b3799593ff063d20ce043ccbc276c67b6.zip
Merge pull request #3 from Sashi20/master
Fix issues in uploading and deleting solutions of the lab
Diffstat (limited to 'proposal.inc')
-rwxr-xr-xproposal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/proposal.inc b/proposal.inc
index af5fcd0..d7b6fde 100755
--- a/proposal.inc
+++ b/proposal.inc
@@ -225,7 +225,7 @@ function lab_migration_proposal_form($form, &$form_state)
$first_experiemnt = TRUE;
for ($counter = 1; $counter <= 15; $counter++)
{
- if ($counter <= 5)
+ if ($counter <= 1)
{
$form['lab_experiment-' . $counter] = array(
'#type' => 'textfield',
@@ -576,7 +576,7 @@ function _lm_list_of_software_version()
function _lm_dir_name($lab, $name, $university)
{
$lab_title = ucname($lab);
- $proposar_name = ucname($lab);
+ $proposar_name = ucname($name);
$university_name = ucname($university);
$dir_name = $lab_title . " " . "by". " " . $proposar_name . ' ' . $university_name;
$directory_name = str_replace("__", "_", str_replace(" ", "_", $dir_name));