summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-14 15:58:19 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-14 15:58:19 -0700
commitc2ba727d6154394fe234e9297b430ac69fd24c88 (patch)
tree7d8d787a46940cfaf9310bf8be4be67633099d8c /actions/showstream.php
parentdaf2e7ef47b6ed071e764858c4b1a9f5eaadb65d (diff)
parent203a5aba67c3bd9e2848d90b1778240b387aeda3 (diff)
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index e2f4e24d4..72316b259 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -320,10 +320,14 @@ class ShowstreamAction extends ProfileAction
$blocked = $cur->hasBlocked($this->profile);
$this->elementStart('li', 'entity_block');
if ($blocked) {
- $ubf = new UnblockForm($this, $this->profile);
+ $ubf = new UnblockForm($this, $this->profile,
+ array('action' => 'showstream',
+ 'nickname' => $this->profile->nickname));
$ubf->show();
} else {
- $bf = new BlockForm($this, $this->profile);
+ $bf = new BlockForm($this, $this->profile,
+ array('action' => 'showstream',
+ 'nickname' => $this->profile->nickname));
$bf->show();
}
$this->elementEnd('li');