]> git.mxchange.org Git - friendica.git/blobdiff - include/conversation.php
Merge pull request #6325 from annando/always-magic
[friendica.git] / include / conversation.php
index 839b58b871bebf90feba1541003b05150191c50e..d6ad4f11b6c420b7be9864b97697c6e8cfdd12c9 100644 (file)
@@ -497,7 +497,7 @@ function conversation(App $a, array $items, Pager $pager, $mode, $update, $previ
                        }
                }
        } elseif ($mode === 'notes') {
-               $items = conversation_add_children($items, false, $order, $uid);
+               $items = conversation_add_children($items, false, $order, local_user());
                $profile_owner = local_user();
 
                if (!$update) {
@@ -994,6 +994,7 @@ function builtin_activity_puller($item, &$conv_responses) {
 function format_like($cnt, array $arr, $type, $id) {
        $o = '';
        $expanded = '';
+       $phrase = '';
 
        if ($cnt == 1) {
                $likers = $arr[0];