From c2fe3fd8fe4768426bad1a89eb6ac5784dc6ae26 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 17 Apr 2013 22:15:38 -0700 Subject: poke bugfix --- mod/poke.php | 3 +-- 1 file changed, 1 insertion(+), 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, -- cgit v1.2.3