X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fconversation.php;h=d7e3d54808ed77640c15662a9bc28ae4de40b2b6;hb=33b491f2a6ce9f7030851fcdd55394c575e4322f;hp=e6c787915fb5dd14367fe8d5fcead8c7ea7fe4eb;hpb=ce177f22c867d4b9dc904914d6f80a5c7b988453;p=friendica.git diff --git a/include/conversation.php b/include/conversation.php index e6c787915f..d7e3d54808 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -210,8 +210,8 @@ function localize_item(&$item) foreach ($links->link as $l) { $atts = $l->attributes(); switch ($atts['rel']) { - case "alternate": $Blink = $atts['href']; - case "photo": $Bphoto = $atts['href']; + case "alternate": $Blink = $atts['href']; break; + case "photo": $Bphoto = $atts['href']; break; } } @@ -1044,7 +1044,6 @@ function format_like($cnt, array $arr, $type, $id) { } } - $phrase = ''; if ($cnt > 1) { $total = count($arr); if ($total < MAX_LIKERS) { @@ -1464,7 +1463,7 @@ function render_location_dummy(array $item) { } } -function get_responses(array $conv_responses, array $response_verbs, $ob, array $item) { +function get_responses(array $conv_responses, array $response_verbs, array $item, Post $ob = null) { $ret = []; foreach ($response_verbs as $v) { $ret[$v] = [];