aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-17 22:15:38 -0700
committerfriendica <info@friendica.com>2013-04-17 22:15:38 -0700
commitc2fe3fd8fe4768426bad1a89eb6ac5784dc6ae26 (patch)
tree78ab2422b950eb9237343f5948a465e2c6fcd89d
parent5f27e29bb8f5eea59d48e07cc3a7ef2a52733a3e (diff)
downloadvolse-hubzilla-c2fe3fd8fe4768426bad1a89eb6ac5784dc6ae26.tar.gz
volse-hubzilla-c2fe3fd8fe4768426bad1a89eb6ac5784dc6ae26.tar.bz2
volse-hubzilla-c2fe3fd8fe4768426bad1a89eb6ac5784dc6ae26.zip
poke bugfix
-rwxr-xr-xmod/poke.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/poke.php b/mod/poke.php
index cea7812ac..875c52337 100755
--- a/mod/poke.php
+++ b/mod/poke.php
@@ -95,8 +95,7 @@ function poke_init(&$a) {
$arr['verb'] = $activity;
$arr['item_private'] = $item_private;
$arr['obj_type'] = ACTIVITY_OBJ_PERSON;
-
- $arr['body'] = '[zrl=' . $poster['xchan_url'] . ']' . $poster['xchan_name'] . '[/zrl]' . ' ' . t($verbs[$verb][0]) . ' ' . '[zrl=' . $target['xchan_url'] . ']' . $target['xchan_name'] . '[/zrl]';
+ $arr['body'] = '[zrl=' . $channel['xchan_url'] . ']' . $channel['xchan_name'] . '[/zrl]' . ' ' . t($verbs[$verb][0]) . ' ' . '[zrl=' . $target['xchan_url'] . ']' . $target['xchan_name'] . '[/zrl]';
$obj = array(
'type' => ACTIVITY_OBJ_PERSON,