diff options
author | Friendika <info@friendika.com> | 2011-02-14 20:21:28 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-14 20:21:28 -0800 |
commit | 1dea6a2d711ddf39a5239dc86a1e3c4b7a650064 (patch) | |
tree | 01c76d3ca98c26856ec9131484262222ba4cd8a3 /mod | |
parent | 7b265005107f12fa1e5768853e280a8f0b68eeac (diff) | |
download | volse-hubzilla-1dea6a2d711ddf39a5239dc86a1e3c4b7a650064.tar.gz volse-hubzilla-1dea6a2d711ddf39a5239dc86a1e3c4b7a650064.tar.bz2 volse-hubzilla-1dea6a2d711ddf39a5239dc86a1e3c4b7a650064.zip |
wrong return url for ajax comments on display and photos pages
Diffstat (limited to 'mod')
-rw-r--r-- | mod/display.php | 2 | ||||
-rw-r--r-- | mod/photos.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/display.php b/mod/display.php index 3215ae90a..b07e1aee5 100644 --- a/mod/display.php +++ b/mod/display.php @@ -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'], diff --git a/mod/photos.php b/mod/photos.php index 9acde458d..a44eb5a5f 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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'], |