aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-26 17:01:37 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-26 17:01:37 -0700
commit7a6665b5cfb35daf3cb6ad13db00a19e89f8c8b8 (patch)
tree4940d6403b78da48d144506ad628444bb36ccf46 /mod/profile.php
parent17808daf5e72f6ff22c182d334ab3651abda0302 (diff)
downloadvolse-hubzilla-7a6665b5cfb35daf3cb6ad13db00a19e89f8c8b8.tar.gz
volse-hubzilla-7a6665b5cfb35daf3cb6ad13db00a19e89f8c8b8.tar.bz2
volse-hubzilla-7a6665b5cfb35daf3cb6ad13db00a19e89f8c8b8.zip
item deletion and hover images
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/profile.php b/mod/profile.php
index b0ff85a44..3703fe7f2 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -219,6 +219,10 @@ function profile_content(&$a, $update = false) {
$tpl = file_get_contents('view/wall_item.tpl');
+ if($update)
+ $return_url = $_SESSION['return_url'];
+ else
+ $return_url = $_SESSION['return_url'] = $a->cmd;
if(count($r)) {
foreach($r as $item) {
@@ -227,10 +231,6 @@ function profile_content(&$a, $update = false) {
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
- if($update)
- $return_url = $_SESSION['return_url'];
- else
- $return_url = $_SESSION['return_url'] = $a->cmd;
if(can_write_wall($a,$a->profile['uid'])) {