summaryrefslogtreecommitdiff
path: root/proposal.inc
diff options
context:
space:
mode:
Diffstat (limited to 'proposal.inc')
-rwxr-xr-xproposal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/proposal.inc b/proposal.inc
index 94d58e4..1d310d4 100755
--- a/proposal.inc
+++ b/proposal.inc
@@ -30,8 +30,8 @@ function custom_model_proposal_form($form, &$form_state, $no_js_use = FALSE)
/************************ start approve book details ************************/
if ($user->uid == 0)
{
- $msg = drupal_set_message(t('It is mandatory to ' . l('login', 'user') . ' on this website to access the custom model proposal form. If you are new user please create a new account first.'), 'error');
- drupal_goto('user');
+ $msg = drupal_set_message(t('It is mandatory to login on this website to access the custom model proposal form. If you are new user please create a new account first.'), 'error');
+ drupal_goto('user/login', array('query' => drupal_get_destination()));
return $msg;
} //$user->uid == 0
$query = db_select('custom_model_proposal');