summaryrefslogtreecommitdiffstats
path: root/print_mail
diff options
context:
space:
mode:
authorJoao Ventura2012-06-16 17:33:03 +0200
committerJoao Ventura2012-06-16 17:33:03 +0200
commitc192d2eb8f4a51cf9c58b87deae66e4df606aeec (patch)
treeac60dd0b2b3f9641496f11fd55f4488a3c734774 /print_mail
parentd5a785b4460530ffd56e3f4b3decb3229ae67648 (diff)
Issue #1619730: fix undefined property warning when sending mails.
Diffstat (limited to 'print_mail')
-rw-r--r--print_mail/print_mail.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/print_mail/print_mail.inc b/print_mail/print_mail.inc
index 8a97fd1..f369863 100644
--- a/print_mail/print_mail.inc
+++ b/print_mail/print_mail.inc
@@ -299,7 +299,7 @@ function print_mail_form_submit($form, &$form_state) {
$params = array();
$params['subject'] = $form_state['values']['fld_subject'];
$params['message'] = $sender_message;
- $params['link'] = $node->url;
+ $params['link'] = url($form_state['values']['path'], array('absolute' => TRUE));
$params['title'] = $form_state['values']['title'];
$params['body'] = theme('print', array('node' => $node, 'format' => $link['format'], 'expand_css' => TRUE, 'message' => $sender_message));