diff options
author | Sashi20 | 2018-11-02 11:33:34 +0530 |
---|---|---|
committer | Sashi20 | 2018-11-02 11:33:34 +0530 |
commit | 202138bb12be297949046c8532d7333df2060b44 (patch) | |
tree | f8d49d3a03a5d6e17660c81440a3bd24309e77b6 /upload_code.inc | |
parent | 9a41e94a6b1b5015b0eb984c4e2caae7e210e926 (diff) | |
download | om_pssp-202138bb12be297949046c8532d7333df2060b44.tar.gz om_pssp-202138bb12be297949046c8532d7333df2060b44.tar.bz2 om_pssp-202138bb12be297949046c8532d7333df2060b44.zip |
Fixed validation errors in proposal form
Diffstat (limited to 'upload_code.inc')
-rwxr-xr-x | upload_code.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/upload_code.inc b/upload_code.inc index 5adeb2e..6fec49d 100755 --- a/upload_code.inc +++ b/upload_code.inc @@ -7,7 +7,7 @@ function om_pssp_abstract() $proposal_data = om_pssp_get_proposal(); if (!$proposal_data) { - drupal_goto(''); + drupal_goto('powersystems'); return; } //!$proposal_data //$return_html .= l('Upload abstract', 'powersystems/pssp/abstract-code/upload') . '<br />'; @@ -280,7 +280,7 @@ function om_pssp_upload_abstract_code_form_submit($form, &$form_state) $proposal_id = $proposal_data->id; if (!$proposal_data) { - drupal_goto(''); + drupal_goto('powersystems'); return; } //!$proposal_data $proposal_id = $proposal_data->id; |