From 6625cb61fbfd841ce1cc959fc6bdd5c112aab5d6 Mon Sep 17 00:00:00 2001 From: Saketh1499 Date: Tue, 21 Sep 2021 16:14:48 +0530 Subject: Redirecting to selected page after login --- proposal.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposal.inc b/proposal.inc index 38d5e54..aa96172 100755 --- a/proposal.inc +++ b/proposal.inc @@ -32,7 +32,7 @@ function chemistry_lab_proposal_form($form, &$form_state, $no_js_use = FALSE) { $msg = drupal_set_message(t('It is mandatory to ' . l('login', 'user') . ' on this website to access the chemistry lab proposal form. If you are new user please create a new account first.'), 'error'); //drupal_goto('soul-chemistry-lab-project'); - drupal_goto('user'); + drupal_goto('user/login', array('query' => drupal_get_destination())); return $msg; } //$user->uid == 0 $query = db_select('soul_chemistry_lab_proposal'); -- cgit