From 9b27d049dcef53a021d3750bb86f18441310cb38 Mon Sep 17 00:00:00 2001
From: Hypolite Petovan <hypolite@mrpetovan.com>
Date: Mon, 21 Jan 2019 11:38:54 -0500
Subject: [PATCH] Add missing break statements in include/conversation

- Remove bad variable initialization in format_like()
---
 include/conversation.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/conversation.php b/include/conversation.php
index 682bc14555..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) {
-- 
2.39.5