diff options
author | Sashi20 | 2018-06-28 10:59:44 +0530 |
---|---|---|
committer | Sashi20 | 2018-06-28 10:59:44 +0530 |
commit | 8c0c537c39f0a776c13077e6a709550e9a190d38 (patch) | |
tree | 06a74688f0f8ba7438e0d46127d294a86da7e632 /proposal.inc | |
parent | 1c18fe1d2fbe27682a8e27122b90a18ff43d37a2 (diff) | |
download | cfd_case_study-8c0c537c39f0a776c13077e6a709550e9a190d38.tar.gz cfd_case_study-8c0c537c39f0a776c13077e6a709550e9a190d38.tar.bz2 cfd_case_study-8c0c537c39f0a776c13077e6a709550e9a190d38.zip |
Changed the destination folder path
Diffstat (limited to 'proposal.inc')
-rwxr-xr-x | proposal.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proposal.inc b/proposal.inc index 8c22858..eb1c09b 100755 --- a/proposal.inc +++ b/proposal.inc @@ -443,7 +443,7 @@ function cfd_case_study_proposal_form_submit($form, &$form_state) $query_pro->fields('case_study_proposal'); //$query_pro->condition('id', $proposal_data->id); $abstracts_pro = $query_pro->execute()->fetchObject(); - $proposal_id = $query_pro->id; + $proposal_id = $abstracts_pro->id; $dest_path = $directory_name . '/'; $dest_path1 = $root_path . $dest_path; if (!is_dir($root_path . $dest_path)) @@ -496,7 +496,7 @@ function cfd_case_study_proposal_form_submit($form, &$form_state) ":approvar_uid" => 0, ":filename" => $_FILES['files']['name'][$file_form_name], ":filepath" => $_FILES['files']['name'][$file_form_name], - ":filemime" => mime_content_type($root_path . $dest_path_project_files . $_FILES['files']['name'][$file_form_name]), + ":filemime" => mime_content_type($root_path . $dest_path . $_FILES['files']['name'][$file_form_name]), ":filesize" => $_FILES['files']['size'][$file_form_name], ":filetype" => 'A', ":timestamp" => time() |