diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-24 23:20:20 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-24 23:20:20 -0700 |
commit | fc8379b1080823bb69664aa4119ba190e1f5b1ca (patch) | |
tree | 80179ca329106a59247a54106e34716eee19dfff /mod/network.php | |
parent | 6368bd165612dfa1e95e8d4c99b922797bf429af (diff) | |
download | volse-hubzilla-fc8379b1080823bb69664aa4119ba190e1f5b1ca.tar.gz volse-hubzilla-fc8379b1080823bb69664aa4119ba190e1f5b1ca.tar.bz2 volse-hubzilla-fc8379b1080823bb69664aa4119ba190e1f5b1ca.zip |
live updates sort of working
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index cbd1f4454..0807f9561 100644 --- a/mod/network.php +++ b/mod/network.php @@ -119,9 +119,15 @@ function network_content(&$a, $update = false) { } } + if($update) + $return_url = $_SESSION['return_url']; + else + $return_url = $_SESSION['return_url'] = $a->cmd; + + if($item['last-child']) { $comment = replace_macros($cmnt_tpl,array( - '$return_path' => $a->cmd, + '$return_path' => $_SESSION['return_url'], '$id' => $item['item_id'], '$parent' => $item['parent'], '$profile_uid' => $_SESSION['uid'], |