mailing/redirecting to correct url
This commit is contained in:
parent
559b7f1475
commit
c0764a5553
@ -160,7 +160,7 @@
|
|||||||
$comm_mail = isset($arr['email'])? "<{$arr['email']}>" : '';
|
$comm_mail = isset($arr['email'])? "<{$arr['email']}>" : '';
|
||||||
$from_mail = $comm_mail? $arr['email'] : $fp_config['general']['email'];
|
$from_mail = $comm_mail? $arr['email'] : $fp_config['general']['email'];
|
||||||
$q =& new FPDB_Query(array('entry'=>$_GET['entry'],'fullparse'=>false), null);
|
$q =& new FPDB_Query(array('entry'=>$_GET['entry'],'fullparse'=>false), null);
|
||||||
list($id, $e) = $q->getEntry();
|
list($entryid, $e) = $q->getEntry();
|
||||||
|
|
||||||
|
|
||||||
$lang = lang_load('comments');
|
$lang = lang_load('comments');
|
||||||
@ -181,7 +181,7 @@
|
|||||||
$arr['name'],
|
$arr['name'],
|
||||||
$comm_mail,
|
$comm_mail,
|
||||||
$e['subject'],
|
$e['subject'],
|
||||||
get_comments_link($_GET['entry']) . '#'.$id,
|
get_comments_link($entryid) . '#'.$id,
|
||||||
$arr['content'],
|
$arr['content'],
|
||||||
$fp_config['general']['title']
|
$fp_config['general']['title']
|
||||||
),
|
),
|
||||||
@ -201,7 +201,7 @@
|
|||||||
apply_filters(
|
apply_filters(
|
||||||
'comments_link',
|
'comments_link',
|
||||||
'',
|
'',
|
||||||
$_GET['entry'])
|
$entryid)
|
||||||
) . '#'.$id;
|
) . '#'.$id;
|
||||||
|
|
||||||
utils_redirect($location,true);
|
utils_redirect($location,true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user