From 202138bb12be297949046c8532d7333df2060b44 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Fri, 2 Nov 2018 11:33:34 +0530 Subject: Fixed validation errors in proposal form --- upload_code.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'upload_code.inc') 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') . '
'; @@ -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; -- cgit