Index: comment_notify/comment_notify.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/comment_notify/comment_notify.module,v
retrieving revision 1.32
diff -u -p -r1.32 comment_notify.module
--- comment_notify/comment_notify.module 13 Oct 2008 20:06:27 -0000 1.32
+++ comment_notify/comment_notify.module 23 Oct 2008 19:03:40 -0000
@@ -139,7 +139,7 @@ function comment_notify_form_alter(&$for
'#title' => t('Notify me of follow-up comments posted here.'),
'#default_value' => !empty($user->comment_notify_mailalert) ? $user->comment_notify_mailalert : variable_get('comment_notify_default_anon_maila\
lert', FALSE),
- '#description' => t('You can change the default for this field in "Comment follow-up notification settings" on your account edit page', array('!uri' => url('user/'. $user->uid .'/edit'))),
+ '#description' => t('You can change the default for this field in "Comment follow-up notification settings" on your account edit page', array('!uri' => url('user/'. array('query' => $user->uid .'/edit')))),
'#options' => $available_options,
);
}
@@ -355,7 +355,7 @@ function _comment_notify_mailalert($comm
'!commname' => $commname,
'!commtext' => $commtext,
'!commsubj' => $commsubj,
- '!comment_url' => url('node/'. $nid, NULL, NULL, 1) .'#comment-'. $cid,
+ '!comment_url' => url('node/'. $nid, array('absolute' => TRUE)) .'#comment-'. $cid,
'!node_title' => $node->title,
'!node_teaser' => $node->teaser,
'!mission' => variable_get('site_mission', ''),
@@ -365,8 +365,8 @@ function _comment_notify_mailalert($comm
'!uri' => $base_url,
'!uri_brief' => substr($base_url, strlen('http://')),
'!date' => format_date(time()),
- '!login_uri' => url('user', NULL, NULL, 1),
- '!edit_uri' => url('user/'. $alert->uid .'/edit', NULL, NULL, 1)
+ '!login_uri' => url('user', array('ablsolute' => TRUE)),
+ '!edit_uri' => url('user/'. $alert->uid .'/edit', array('absolute' => TRUE))
)
);
drupal_mail('node_notify_mail', $author->mail, $subject, $message, $from, array());