Fix for regression in updated mention checks, sometimes lost links to folks mentioned in the replied message.

This commit is contained in:
Brion Vibber 2010-03-02 09:53:00 -08:00
parent c38ed1bb19
commit f596e072e7

View File

@ -550,7 +550,7 @@ function common_find_mentions($text, $notice)
} else if (!empty($originalMentions) && } else if (!empty($originalMentions) &&
array_key_exists($nickname, $originalMentions)) { array_key_exists($nickname, $originalMentions)) {
$mention = $originalMentions[$nickname]; $mentioned = $originalMentions[$nickname];
} else { } else {
$mentioned = common_relative_profile($sender, $nickname); $mentioned = common_relative_profile($sender, $nickname);
} }