wrong return url for ajax comments on display and photos pages

This commit is contained in:
Friendika 2011-02-14 20:21:28 -08:00
commit 1dea6a2d71
4 changed files with 5 additions and 3 deletions

View file

@ -153,7 +153,7 @@ function display_content(&$a) {
}
if($item['last-child']) {
$comment = replace_macros($cmnt_tpl,array(
'$return_path' => $_SESSION['return_url'],
'$return_path' => '', // $_SESSION['return_url'],
'$type' => 'wall-comment',
'$id' => $item['item_id'],
'$parent' => $item['parent'],