summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaketh14992021-09-21 16:14:48 +0530
committerSaketh14992021-09-21 16:14:48 +0530
commit6625cb61fbfd841ce1cc959fc6bdd5c112aab5d6 (patch)
tree0767fac0c5c62ef08c904e064e4a84f4c8cf603d
parent62a784163817269ebd5d61ca63f9fa3c25b52112 (diff)
downloadsoul_chemistry_lab_project-6625cb61fbfd841ce1cc959fc6bdd5c112aab5d6.tar.gz
soul_chemistry_lab_project-6625cb61fbfd841ce1cc959fc6bdd5c112aab5d6.tar.bz2
soul_chemistry_lab_project-6625cb61fbfd841ce1cc959fc6bdd5c112aab5d6.zip
Redirecting to selected page after login
-rwxr-xr-xproposal.inc2
1 files changed, 1 insertions, 1 deletions
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');