From: Brion Vibber Date: Tue, 2 Mar 2010 17:53:00 +0000 (-0800) Subject: Fix for regression in updated mention checks, sometimes lost links to folks mentioned... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f596e072e79ec87541b27008ea2327275e5fc669;p=quix0rs-gnu-social.git Fix for regression in updated mention checks, sometimes lost links to folks mentioned in the replied message. --- diff --git a/lib/util.php b/lib/util.php index d12a7920d2..485f6f0d9d 100644 --- a/lib/util.php +++ b/lib/util.php @@ -550,7 +550,7 @@ function common_find_mentions($text, $notice) } else if (!empty($originalMentions) && array_key_exists($nickname, $originalMentions)) { - $mention = $originalMentions[$nickname]; + $mentioned = $originalMentions[$nickname]; } else { $mentioned = common_relative_profile($sender, $nickname); }