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

@ -1048,7 +1048,7 @@ function photos_content(&$a) {
if($can_post || can_write_wall($a,$owner_uid)) {
if($link_item['last-child']) {
$o .= replace_macros($cmnt_tpl,array(
'$return_path' => $return_url,
'$return_path' => '', // $return_url,
'$type' => 'wall-comment',
'$id' => $link_item['id'],
'$parent' => $link_item['id'],